Update code to use correct selected for the RSSI AUX select element.

10.3.x-maintenance
Dominic Clifton 2015-01-07 20:11:25 +00:00
parent 835e665017
commit 70593bc0a3
1 changed files with 1 additions and 2 deletions

View File

@ -163,8 +163,7 @@ TABS.receiver.initialize = function (callback) {
}); });
// rssi // rssi
var rssi_channel_e = $('select[name="rssi_channel"]');
var rssi_channel_e = $('select.rssi_channel');
rssi_channel_e.append('<option value="0">Disabled</option>'); rssi_channel_e.append('<option value="0">Disabled</option>');
for (var i = 0; i < RC.active_channels; i++) { for (var i = 0; i < RC.active_channels; i++) {
rssi_channel_e.append('<option value="' + i + '">' + i + '</option>'); rssi_channel_e.append('<option value="' + i + '">' + i + '</option>');