Skip to content

Commit

Permalink
Flasher tab: fix wiki button (#3198)
Browse files Browse the repository at this point in the history
Flashed tab: fix wiki button
  • Loading branch information
limonspb committed Jan 5, 2023
1 parent 0a8701a commit 6d08e45
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/js/gui.js
Expand Up @@ -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");
}

Expand Down

0 comments on commit 6d08e45

Please sign in to comment.