mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-24 00:35:26 +03:00
Fix OSD timer (#3894)
This commit is contained in:
parent
8c7e952104
commit
0acc0e4a60
1 changed files with 0 additions and 2 deletions
|
@ -2887,8 +2887,6 @@ osd.initialize = function(callback) {
|
|||
const timerPrecisionOptionText = i18n.getMessage(`osdTimerPrecisionOption${inflection.camelize(e.toLowerCase())}`);
|
||||
precision.append(`<option value="${i}">${timerPrecisionOptionText}</option>`);
|
||||
});
|
||||
// Sort the element, if need to group, do it by lexical sort, ie. by naming of (the translated) selection text
|
||||
precision.sortSelect();
|
||||
precision[0].selectedIndex = tim.precision;
|
||||
precision.blur(function() {
|
||||
const idx = $(this)[0].id.split("_")[1];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue