mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 00:05:22 +03:00
Fix wrapping
This commit is contained in:
parent
61d0b1e857
commit
34ca57fec2
2 changed files with 15 additions and 15 deletions
|
@ -1429,20 +1429,6 @@ TABS.pid_tuning.initialize = function (callback) {
|
|||
});
|
||||
}
|
||||
|
||||
$(window).resize(function() {
|
||||
let width = $(this).width();
|
||||
if (width <= 1265) {
|
||||
$('.pidControllerAdvancedSettings').removeClass('spacer_left');
|
||||
} else if (width >= 1283) {
|
||||
$('.pidControllerAdvancedSettings').addClass('spacer_left');
|
||||
}
|
||||
if (width <= 1405) {
|
||||
$('.ratePreview').removeClass('spacer_left');
|
||||
} else if (width >= 1423) {
|
||||
$('.ratePreview').addClass('spacer_left');
|
||||
}
|
||||
});
|
||||
|
||||
// update == save.
|
||||
$('a.update').click(function () {
|
||||
form_to_pid_and_rc();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue