Skip to content

Commit

Permalink
Update board wiki URL (betaflight#3862)
Browse files Browse the repository at this point in the history
* Update board wiki URL

* Update src/js/tabs/firmware_flasher.js

* Update src/js/tabs/firmware_flasher.js
  • Loading branch information
haslinghuis authored and chmelevskij committed Apr 27, 2024
1 parent fcb8105 commit 710ea54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/tabs/firmware_flasher.js
Original file line number Diff line number Diff line change
Expand Up @@ -993,8 +993,8 @@ firmware_flasher.initialize = function (callback) {
const targetSupportInfo = $('#targetSupportInfoUrl');

targetSupportInfo.on('click', function() {
let urlSupport = 'https://betaflight.com/docs/wiki/boards/missing'; // general board missing
const urlBoard = `https://betaflight.com/docs/wiki/boards/${self.selectedBoard}`; // board description
let urlSupport = 'https://betaflight.com/docs/wiki/boards/archive/Missing'; // general board missing
const urlBoard = `https://betaflight.com/docs/wiki/boards/current/${self.selectedBoard}`; // board description
if (urlExists(urlBoard)) {
urlSupport = urlBoard;
}
Expand Down

0 comments on commit 710ea54

Please sign in to comment.