1
0
Fork 0
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:
Ivan Efimov 2022-11-20 12:14:48 -06:00 committed by GitHub
parent d6c129fb1f
commit 50fc11cd66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 36 additions and 26 deletions

View file

@ -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();