mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 21:05:35 +03:00
removing dynamic height scaling
This commit is contained in:
parent
3fb3c337e6
commit
cc3b2a3f36
1 changed files with 0 additions and 8 deletions
8
main.js
8
main.js
|
@ -15,14 +15,6 @@ ga_tracker.sendAppView('Application Started');
|
|||
// Google Analytics stuff end
|
||||
|
||||
$(document).ready(function() {
|
||||
// set bounds (default 960x600)
|
||||
if (screen.height > 600) {
|
||||
chrome.app.window.current().setBounds({width: 962, height: 629});
|
||||
} else {
|
||||
$('div#content').height(280);
|
||||
chrome.app.window.current().setBounds({width: 962, height: 429});
|
||||
}
|
||||
|
||||
// bind controls
|
||||
$('#frame .minimize').click(function() {
|
||||
chrome.app.window.current().minimize();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue