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:
parent
8d1b6a5c6a
commit
6106c3196a
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user