1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-25 17:25:16 +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 () { portPickerElement.change(function () {
if (!GUI.connect_lock) { if (!GUI.connect_lock) {
if ($('option:selected', this).data().isDFU) { if ($('option:selected', this).data().isDFU) {
exitDfuElement.removeClass('disabled'); exitDfuElement.removeClass('disabled');
} else { } else {
$("a.load_remote_file").removeClass('disabled'); $("a.load_remote_file").removeClass('disabled');
$("a.load_file").removeClass('disabled'); $("a.load_file").removeClass('disabled');
exitDfuElement.addClass('disabled'); exitDfuElement.addClass('disabled');
} }
} }
}).change(); }).change();