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

fix above issue

This commit is contained in:
timman2er 2018-09-28 16:57:40 +02:00
parent 8810d353b2
commit db11eb2681
3 changed files with 5 additions and 13 deletions

View file

@ -1556,17 +1556,8 @@ dialog {
border: 1px solid #fe0000;
background-image: url(../images/icons/cf_icon_flasher_white.svg);
transition: none;
}
.firmware_b a.active.flash:hover {
background-color: #f21212;
}
.firmware_b a.flash.active {
background-color: #e60000;
border: 1px solid #fe0000;
background-image: url(../images/icons/cf_icon_flasher_white.svg);
transition: none;
pointer-events: none;
cursor: default;
}
.firmware_b a.flash.active:hover {

View file

@ -156,6 +156,7 @@ function startProcess() {
} else {
self.disconnect();
}
$('div.open_firmware_flasher a.flash').click();
} else if (GUI.allowedTabs.indexOf(tab) < 0) {
GUI.log(i18n.getMessage('tabSwitchUpgradeRequired', [tabName]));
return;

View file

@ -125,13 +125,13 @@
<div id="port-picker">
<div class="connect_controls" id="connectbutton">
<div class="connect_b">
<a class="connect disabled" href="#"></a> <!-- Note: a.connect points to connect disabled-->
<a class="connect disabled" href="#"></a>
</div>
<a class="connect_state" i18n="connect"></a>
</div>
<div class="open_firmware_flasher" id="flashbutton">
<div class="firmware_b">
<a class="flash disabled" href="#"></a> <!-- Note: a.flash points to flash disabled-->
<a class="flash disabled" href="#"></a>
</div>
<a class="flash_state" i18n="flashTab"></a>
</div>