Skip to content

Commit

Permalink
Flashed tab: fix wiki button
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Efimov committed Jan 3, 2023
1 parent 110958a commit ac21821
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/js/gui.js
Original file line number Diff line number Diff line change
Expand Up @@ -313,10 +313,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 ac21821

Please sign in to comment.