diff --git a/_locales/en/messages.json b/_locales/en/messages.json index e5ae2fdc..97e3c220 100755 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -55,7 +55,9 @@ "configMigrationSuccessful": { "message": "Configuration migration complete, migrations applied: $1" }, - + "documentation": { + "message": "Documentation" + }, "tabFirmwareFlasher": { "message": "Firmware Flasher" }, diff --git a/js/gui.js b/js/gui.js index 3629878c..12a17a64 100644 --- a/js/gui.js +++ b/js/gui.js @@ -164,12 +164,13 @@ GUI_control.prototype.content_ready = function (callback) { $(elem).removeClass('togglemedium'); }); - if (CONFIGURATOR.connectionValid) { - // Build link to in-use CF version documentation - var documentationButton = $('div#content #button-documentation'); - documentationButton.html("Documentation for INAV"); - documentationButton.attr("href","https://github.com/iNavFlight/inav/wiki"); - } + // Insert a documentation button next to the tab title + const tabTitle = $('div#content .tab_title'); + const documentationDiv = $('