mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-17 21:35:33 +03:00
Merge pull request #2712 from Asizon/rpm_defaults_fix
Rpm defaults fix for 4.3
This commit is contained in:
commit
f3f8df6d38
6 changed files with 39 additions and 53 deletions
|
@ -724,21 +724,8 @@ function showErrorDialog(message) {
|
|||
dialog.showModal();
|
||||
}
|
||||
|
||||
function showDialogDynFiltersChange() {
|
||||
const dialogDynFiltersChange = $('.dialogDynFiltersChange')[0];
|
||||
|
||||
if (!dialogDynFiltersChange.hasAttribute('open')) {
|
||||
dialogDynFiltersChange.showModal();
|
||||
|
||||
$('.dialogDynFiltersChange-confirmbtn').click(function() {
|
||||
dialogDynFiltersChange.close();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: all of these are used as globals in other parts.
|
||||
// once moved to modules extract to own module.
|
||||
window.showDialogDynFiltersChange = showDialogDynFiltersChange;
|
||||
window.googleAnalytics = analytics;
|
||||
window.analytics = null;
|
||||
window.showErrorDialog = showErrorDialog;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue