mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-15 20:35:23 +03:00
Select first value in drop down upon enabling expert mode
This commit is contained in:
parent
3a94d0056f
commit
9c4bf73101
1 changed files with 1 additions and 0 deletions
|
@ -252,6 +252,7 @@ TABS.firmware_flasher.initialize = function (callback) {
|
||||||
buildTypesToShow.forEach((build, index) => {
|
buildTypesToShow.forEach((build, index) => {
|
||||||
buildType_e.append($("<option value='{0}' selected>{1}</option>".format(index, build.tag ? i18n.getMessage(build.tag) : build.title)))
|
buildType_e.append($("<option value='{0}' selected>{1}</option>".format(index, build.tag ? i18n.getMessage(build.tag) : build.title)))
|
||||||
});
|
});
|
||||||
|
$('select[name="build_type"]').val($('select[name="build_type"] option:first').val());
|
||||||
}
|
}
|
||||||
|
|
||||||
function showOrHideBuildTypes() {
|
function showOrHideBuildTypes() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue