diff options
author | Pawel Spychalski (DzikuVx) <pspychalski@gmail.com> | 2019-01-11 01:26:42 +0300 |
---|---|---|
committer | Pawel Spychalski (DzikuVx) <pspychalski@gmail.com> | 2019-01-11 01:26:42 +0300 |
commit | 9899362a7153a2c44a6763b0e66c0e872822e733 (patch) | |
tree | 8c64b80b8bd9d677f1466028f283bcefd6f30c2b /main.js | |
parent | 6eded9dcd02117c1e64329f127daed6e48179fef (diff) |
Remove support tab and redirect users to wiki
Diffstat (limited to 'main.js')
-rw-r--r-- | main.js | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -132,6 +132,11 @@ $(document).ready(function () { // Tabs var ui_tabs = $('#tabs > ul'); $('a', ui_tabs).click(function () { + + if ($(this).parent().hasClass("tab_help")) { + return; + } + if ($(this).parent().hasClass('active') == false && !GUI.tab_switch_in_progress) { // only initialize when the tab isn't already active var self = this, tabClass = $(self).parent().prop('class'); @@ -189,10 +194,6 @@ $(document).ready(function () { case 'firmware_flasher': TABS.firmware_flasher.initialize(content_ready); break; - case 'help': - TABS.help.initialize(content_ready); - break; - case 'auxiliary': TABS.auxiliary.initialize(content_ready); break; |