1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-18 22:05:13 +03:00

(rebase) change firmware flasher to button and change name

This commit is contained in:
timman2er 2018-09-26 23:06:28 +02:00
parent 0e0b7476d1
commit b4f5b46335
5 changed files with 108 additions and 2 deletions

View file

@ -82,6 +82,11 @@ function initializeSerialBackend() {
}
});
$('div.open_firmware_flasher a.connect').click(function () {
$('#tabs ul.mode-disconnected .tab_firmware_flasher a').click();
$('div.open_firmware_flasher a.flash_state').text(i18n.getMessage('flashTab'));
});
// auto-connect
chrome.storage.local.get('auto_connect', function (result) {
if (result.auto_connect === 'undefined' || result.auto_connect) {