mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 16:25:22 +03:00
Firmware flasher: classic build toggle - moved to build configuration header (#3091)
This commit is contained in:
parent
d6c129fb1f
commit
50fc11cd66
4 changed files with 36 additions and 26 deletions
|
@ -650,11 +650,7 @@ firmware_flasher.initialize = function (callback) {
|
|||
$('input.classicbuild_mode').change(function () {
|
||||
const status = $(this).is(':checked');
|
||||
|
||||
$('select[name="radioProtocols"]').attr('disabled', status);
|
||||
$('select[name="telemetryProtocols"]').attr('disabled', status);
|
||||
$('select[name="motorProtocols"]').attr('disabled', status);
|
||||
$('select[name="options"]').attr('disabled', status);
|
||||
$('input[name="customDefines"]').attr('disabled', status);
|
||||
$('.hide-in-classic-build-mode').toggle(!status);
|
||||
});
|
||||
$('input.classicbuild_mode').change();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue