1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-24 00:35:26 +03:00

Fix trailing

This commit is contained in:
Asizon 2020-12-13 11:21:23 +01:00
parent d243a24755
commit 4243e70a18

View file

@ -1022,13 +1022,13 @@ TABS.firmware_flasher.initialize = function (callback) {
portPickerElement.change(function () {
if (!GUI.connect_lock) {
if ($('option:selected', this).data().isDFU) {
if ($('option:selected', this).data().isDFU) {
exitDfuElement.removeClass('disabled');
} else {
$("a.load_remote_file").removeClass('disabled');
$("a.load_file").removeClass('disabled');
exitDfuElement.addClass('disabled');
}
}
}
}).change();