Skip to content

Commit 4f99c51

Browse files
authored
recieverTab: lexcical sorted rxMode (#3276)
1 parent 02e9c77 commit 4f99c51

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/js/tabs/receiver.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,9 @@ receiver.initialize = function (callback) {
412412
$('input.elrsUid').toggle(tab.elrsBindingPhraseEnabled);
413413
}
414414

415+
// Sort the element, if need to group, do it by lexical sort, ie. by naming of (the translated) selection text
416+
$('#rxModeSelect').sortSelect(i18n.getMessage("featureNone"));
417+
415418
$(featuresElement).filter('select').change(function () {
416419
const element = $(this);
417420
FC.FEATURE_CONFIG.features.updateData(element);

src/tabs/receiver.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<div class="spacer_box_title" i18n="configurationReceiver"></div>
3737
</div>
3838
<div class="spacer_box">
39-
<select class="features rxMode" name="rxMode">
39+
<select id="rxModeSelect" class="features rxMode" name="rxMode">
4040
<!-- list generated here -->
4141
</select>
4242
<span i18n="configurationReceiverMode"></span>

0 commit comments

Comments
 (0)