1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-13 19:40:22 +03:00

possible bugfix for last_port_used creation fail

This commit is contained in:
cTn 2013-06-19 01:21:09 +02:00
parent 48ceb6bb66
commit 11cd53f253

View file

@ -240,6 +240,12 @@ function onOpen(openInfo) {
// console.log('Last selected port was saved in chrome.storage.');
});
}
} else {
// variable isn't stored yet, saving
chrome.storage.local.set({'last_used_port': selected_port}, function() {
// Debug message is currently disabled (we dont need to spam the console log with that)
// console.log('Last selected port was saved in chrome.storage.');
});
}
});