mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-01-23 08:40:21 +01:00
only available ones
This commit is contained in:
parent
93b8f75cc3
commit
e2cacc1fa0
|
|
@ -2,7 +2,9 @@ $.fn.bookmarkDialog = function() {
|
|||
var $el = this;
|
||||
return {
|
||||
setModes: function(modes) {
|
||||
$el.find('#modulation').html(modes.map(function(m) {
|
||||
$el.find('#modulation').html(modes.filter(function(m){
|
||||
return m.isAvailable();
|
||||
}).map(function(m) {
|
||||
return '<option value="' + m.modulation + '">' + m.name + '</option>';
|
||||
}).join(''));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue