Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flasher tab: fix wiki button #3198

Merged
merged 1 commit into from Jan 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/js/gui.js
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