1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-13 11:29:53 +03:00

fix style

This commit is contained in:
cTn 2014-08-14 17:00:32 +02:00
parent d7810e1bb6
commit cc8e53205d
4 changed files with 84 additions and 82 deletions

View file

@ -61,7 +61,7 @@ $(document).ready(function () {
// auto-connect
chrome.storage.local.get('auto_connect', function (result) {
if (!result.auto_connect || result.auto_connect) {
if (result.auto_connect === 'undefined' || result.auto_connect) {
// default or enabled by user
GUI.auto_connect = true;