mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-23 16:25:22 +03:00
Fix unknown elements at the end in the OSD tab
This commit is contained in:
parent
bafc683183
commit
c9e0b4e276
1 changed files with 3 additions and 0 deletions
|
@ -2320,6 +2320,7 @@ TABS.osd.initialize = function (callback) {
|
||||||
$field.append('<label for="' + field.name + '" class="char-label">' + titleizeField(field) + '</label>');
|
$field.append('<label for="' + field.name + '" class="char-label">' + titleizeField(field) + '</label>');
|
||||||
|
|
||||||
// Insert in alphabetical order, with unknown fields at the end
|
// Insert in alphabetical order, with unknown fields at the end
|
||||||
|
$field.name = field.name;
|
||||||
insertOrdered($statsFields, $field);
|
insertOrdered($statsFields, $field);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2357,6 +2358,7 @@ TABS.osd.initialize = function (callback) {
|
||||||
$field.append('<label for="' + field.name + '" class="char-label">' + finalFieldName + '</label>');
|
$field.append('<label for="' + field.name + '" class="char-label">' + finalFieldName + '</label>');
|
||||||
|
|
||||||
// Insert in alphabetical order, with unknown fields at the end
|
// Insert in alphabetical order, with unknown fields at the end
|
||||||
|
$field.name = field.name;
|
||||||
insertOrdered($warningFields, $field);
|
insertOrdered($warningFields, $field);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -2493,6 +2495,7 @@ TABS.osd.initialize = function (callback) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Insert in alphabetical order, with unknown fields at the end
|
// Insert in alphabetical order, with unknown fields at the end
|
||||||
|
$field.name = field.name;
|
||||||
insertOrdered($displayFields, $field);
|
insertOrdered($displayFields, $field);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue