diff --git a/js/globalSettings.js b/js/globalSettings.js index cc28ad852..730a30af1 100644 --- a/js/globalSettings.js +++ b/js/globalSettings.js @@ -20,6 +20,7 @@ var globalSettings = { showProfileParameters: null, // tree target for documents docsTreeLocation: 'master', + configuratorTreeLocation: 'master', cliAutocomplete: true, assistnowApiKey: null, assistnowOfflineData: [], diff --git a/js/globalUpdates.js b/js/globalUpdates.js index 16fa3776f..ca6784312 100644 --- a/js/globalUpdates.js +++ b/js/globalUpdates.js @@ -17,6 +17,7 @@ var update = { if (CONFIGURATOR.connectionValid) { $('#logo .firmware_version').text(FC.CONFIG.flightControllerVersion + " [" + FC.CONFIG.target + "]"); globalSettings.docsTreeLocation = 'https://github.com/iNavFlight/inav/blob/' + FC.CONFIG.flightControllerVersion + '/docs/'; + globalSettings.configuratorTreeLocation = 'https://github.com/iNavFlight/inav-configurator/tree/' + FC.CONFIG.flightControllerVersion + '/'; // If this is a master branch firmware, this will find a 404 as there is no tag tree. So default to master for docs. $.ajax({ diff --git a/tabs/osd.html b/tabs/osd.html index 1bc6d0c19..569665be5 100644 --- a/tabs/osd.html +++ b/tabs/osd.html @@ -358,7 +358,7 @@