1
0
Fork 0
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:
Andi Kanzler 2024-02-16 20:55:36 -03:00
parent 2f880e218d
commit 7df8253099
36 changed files with 733 additions and 656 deletions

View file

@ -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) {