fixing height after addition of custom frame

10.3.x-maintenance
cTn 2014-01-24 22:24:35 +01:00
parent 793be64474
commit 58877b0bd2
1 changed files with 2 additions and 2 deletions

View File

@ -17,10 +17,10 @@ ga_tracker.sendAppView('Application Started');
$(document).ready(function() { $(document).ready(function() {
// set bounds (default 960x600) // set bounds (default 960x600)
if (screen.height > 600) { if (screen.height > 600) {
chrome.app.window.current().setBounds({width: 962, height: 627}); chrome.app.window.current().setBounds({width: 962, height: 629});
} else { } else {
$('div#content').height(280); $('div#content').height(280);
chrome.app.window.current().setBounds({width: 960, height: 427}); chrome.app.window.current().setBounds({width: 960, height: 429});
} }
// bind controls // bind controls