mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-16 21:05:30 +03:00
Added buttons for reboot into boot loader and MSC modes.
This commit is contained in:
parent
25b49fb79f
commit
b9358083d9
6 changed files with 102 additions and 4 deletions
|
@ -642,4 +642,16 @@ function openNewWindowsInExternalBrowser() {
|
|||
} catch (ex) {
|
||||
console.log("require does not exist, maybe inside chrome");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function showErrorDialog(message) {
|
||||
var dialog = $('.dialogError')[0];
|
||||
|
||||
$('.dialogError-content').html(message);
|
||||
|
||||
$('.dialogError-closebtn').click(function() {
|
||||
dialog.close();
|
||||
});
|
||||
|
||||
dialog.showModal();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue