1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-16 21:05:30 +03:00

Improving hardwareId behavior

Fix indendation

Add css changes

Change hiden to reset data aproach

Add semicolons
This commit is contained in:
Asizon 2020-12-13 10:38:57 +01:00
parent 8b006c48db
commit 1647ca6ec5
3 changed files with 12 additions and 12 deletions

View file

@ -90,9 +90,6 @@ PortHandler.check_usb_devices = function (callback) {
callback(self.dfu_available);
}
if (!$('option:selected', self.portPickerElement).data().isDFU) {
if (!GUI.connected_to) {
FC.resetState();
}
self.portPickerElement.trigger('change');
}
});