mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 14:25:20 +03:00
release
This commit is contained in:
parent
1268e0c206
commit
9165fc65de
3 changed files with 7 additions and 2 deletions
|
@ -13,6 +13,7 @@ var GUI_control = function() {
|
|||
else if (navigator.appVersion.indexOf("CrOS") != -1) this.operating_system = "ChromeOS";
|
||||
else if (navigator.appVersion.indexOf("Linux") != -1) this.operating_system = "Linux";
|
||||
else if (navigator.appVersion.indexOf("X11") != -1) this.operating_system = "UNIX";
|
||||
else this.operating_system = "Unknown";
|
||||
};
|
||||
|
||||
// Timer managing methods
|
||||
|
@ -295,6 +296,9 @@ GUI_control.prototype.tab_switch_cleanup = function(callback) {
|
|||
case 'firmware_flasher':
|
||||
PortHandler.flush_callbacks();
|
||||
|
||||
// unbind "global" events
|
||||
$(document).unbind('keypress');
|
||||
|
||||
if (callback) callback();
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue