1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

Bugfix. Resolves #470

This commit is contained in:
billz 2020-01-04 18:59:19 +00:00
parent 8d1b6a5c6a
commit 6106c3196a

View File

@ -231,7 +231,7 @@ function loadChannelSelect(selected) {
} }
// Set channel select with available values // Set channel select with available values
var selected = (typeof selected === 'undefined') ? selectablechannels[0] : selected; selected = (typeof selected === 'undefined') ? selectablechannels[0] : selected;
channel_select.empty(); channel_select.empty();
$.each(selectablechannels, function(key,value) { $.each(selectablechannels, function(key,value) {
channel_select.append($("<option></option>").attr("value", value).text(value)); channel_select.append($("<option></option>").attr("value", value).text(value));