fixing height after addition of custom frame
parent
793be64474
commit
58877b0bd2
4
main.js
4
main.js
|
@ -17,10 +17,10 @@ ga_tracker.sendAppView('Application Started');
|
|||
$(document).ready(function() {
|
||||
// set bounds (default 960x600)
|
||||
if (screen.height > 600) {
|
||||
chrome.app.window.current().setBounds({width: 962, height: 627});
|
||||
chrome.app.window.current().setBounds({width: 962, height: 629});
|
||||
} else {
|
||||
$('div#content').height(280);
|
||||
chrome.app.window.current().setBounds({width: 960, height: 427});
|
||||
chrome.app.window.current().setBounds({width: 960, height: 429});
|
||||
}
|
||||
|
||||
// bind controls
|
||||
|
|
Loading…
Reference in New Issue