1
0
Fork 0
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:
cTn 2014-02-03 06:18:44 +01:00
parent 3fb3c337e6
commit cc3b2a3f36

View file

@ -15,14 +15,6 @@ ga_tracker.sendAppView('Application Started');
// Google Analytics stuff end // Google Analytics stuff end
$(document).ready(function() { $(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 // bind controls
$('#frame .minimize').click(function() { $('#frame .minimize').click(function() {
chrome.app.window.current().minimize(); chrome.app.window.current().minimize();