mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 00:05:22 +03:00
Moved dialog to main page
And fixed some strings in messages.json
This commit is contained in:
parent
69603ee46b
commit
69cd83abdd
7 changed files with 28 additions and 43 deletions
|
@ -407,15 +407,7 @@ TABS.pid_tuning.initialize = function (callback) {
|
|||
dynamicNotchQ_e.val(FILTER_DEFAULT.dyn_notch_q);
|
||||
}
|
||||
|
||||
const dialogDynFiltersChange = $('.dialogDynFiltersChange')[0];
|
||||
|
||||
if (!dialogDynFiltersChange.hasAttribute('open')) {
|
||||
dialogDynFiltersChange.showModal();
|
||||
|
||||
$('.dialogDynFiltersChange-confirmbtn').click(function() {
|
||||
dialogDynFiltersChange.close();
|
||||
});
|
||||
}
|
||||
showDialogDynFiltersChange();
|
||||
|
||||
} else { // same value, return saved values
|
||||
dynamicNotchWidthPercent_e.val(FILTER_CONFIG.dyn_notch_width_percent);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue