mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-13 03:19:54 +03:00
Firmware flasher, BLE, TCP, UDP -> Electron
This commit is contained in:
parent
2f880e218d
commit
7df8253099
36 changed files with 733 additions and 656 deletions
|
@ -1,4 +1,4 @@
|
|||
/*global chrome, chrome.i18n*/
|
||||
/*global chrome*/
|
||||
'use strict';
|
||||
|
||||
$(document).ready(function () {
|
||||
|
@ -29,7 +29,7 @@ $(document).ready(function () {
|
|||
|
||||
modal = new jBox('Modal', {
|
||||
width: 400,
|
||||
height: 100,
|
||||
height: 120,
|
||||
animation: false,
|
||||
closeOnClick: false,
|
||||
closeOnEsc: false,
|
||||
|
@ -302,7 +302,7 @@ function onOpen(openInfo) {
|
|||
|
||||
GUI.log(localization.getMessage('serialPortOpened', [openInfo.connectionId]));
|
||||
|
||||
// save selected port with chrome.storage if the port differs
|
||||
// save selected port if the port differs
|
||||
var last_used_port = store.get('last_used_port', false);
|
||||
if (last_used_port) {
|
||||
if (last_used_port != GUI.connected_to) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue