diff --git a/main.js b/main.js index ff3759c034..bd1d52d879 100644 --- a/main.js +++ b/main.js @@ -53,9 +53,8 @@ $(document).ready(function() { var self = this; var index = $(self).parent().index(); - // i am using hardcoded index here (for options tab) since i don't have time to write tab locking mechanism at the moment // if there is no active connection, return - if (configuration_received == false && index != 9) { + if (configuration_received == false) { GUI.log('You need to connect before you can view any of the tabs', 'red'); return; } @@ -101,9 +100,6 @@ $(document).ready(function() { case 'tab_cli': tab_initialize_cli(); break; - case 'tab_options': - tab_initialize_options(); - break; } }); } @@ -124,15 +120,6 @@ $(document).ready(function() { // translate to user-selected language localize(); - if (configuration_received) { - $('a.back').hide(); - } else { - $('a.back').click(function() { - $('#tabs > ul li').removeClass('active'); // de-select any selected tabs - tab_initialize_default(); - }); - } - // if notifications are enabled, or wasn't set, check the notifications checkbox chrome.storage.local.get('update_notify', function(result) { if (typeof result.update_notify === 'undefined' || result.update_notify) { diff --git a/manifest.json b/manifest.json index d1e82f202b..1fe11773d6 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "minimum_chrome_version": "33", - "version": "0.32", + "version": "0.33", "author": "cTn", "name": "Baseflight - Configurator",