diff options
-rw-r--r-- | manifest.json | 2 | ||||
-rw-r--r-- | tabs/configuration.js | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/manifest.json b/manifest.json index 4b942fd8..e13229d3 100644 --- a/manifest.json +++ b/manifest.json @@ -27,8 +27,6 @@ "https://maps.googleapis.com/*", "https://*.github.com/", "https://*.githubusercontent.com/", - "http://*.baseflight.net/", - "http://*.cleanflight.com/", "https://*.amazonaws.com/", "serial", "usb", diff --git a/tabs/configuration.js b/tabs/configuration.js index 10eb0e59..cd679168 100644 --- a/tabs/configuration.js +++ b/tabs/configuration.js @@ -352,11 +352,11 @@ TABS.configuration.initialize = function (callback, scrollPosition) { } serialRX_e.change(function () { - BF_CONFIG.serialrx_type = parseInt($(this).val()); + RX_CONFIG.serialrx_provider = parseInt($(this).val()); }); // select current serial RX type - serialRX_e.val(BF_CONFIG.serialrx_type); + serialRX_e.val(RX_CONFIG.serialrx_provider); // for some odd reason chrome 38+ changes scroll according to the touched select element // i am guessing this is a bug, since this wasn't happening on 37 @@ -530,7 +530,7 @@ TABS.configuration.initialize = function (callback, scrollPosition) { // track feature usage if (isFeatureEnabled('RX_SERIAL')) { - googleAnalytics.sendEvent('Setting', 'SerialRxProvider', serialRXtypes[BF_CONFIG.serialrx_type]); + googleAnalytics.sendEvent('Setting', 'SerialRxProvider', serialRXtypes[RX_CONFIG.serialrx_provider]); } // track feature usage |