From 6d08e45f148b51ec0acf8df221ab5a7bb23eaac1 Mon Sep 17 00:00:00 2001 From: Ivan Efimov Date: Wed, 4 Jan 2023 19:20:38 -0600 Subject: [PATCH] Flasher tab: fix wiki button (#3198) Flashed tab: fix wiki button --- src/js/gui.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/js/gui.js b/src/js/gui.js index 1bc25b3f..a9c8f287 100644 --- a/src/js/gui.js +++ b/src/js/gui.js @@ -315,10 +315,10 @@ class GuiControl { this.switchery(); - if (CONFIGURATOR.connectionValid) { - // Build link to in-use CF version documentation - const documentationButton = $('div#content #button-documentation'); - documentationButton.html("Wiki"); + const documentationButton = $('div#content #button-documentation'); + documentationButton.html("Wiki"); + + if (GUI.active_tab !== 'firmware_flasher') { // hack till we have a nice solution for individual wiki URLs for each page documentationButton.attr("href", "https://github.com/betaflight/betaflight/wiki"); }