mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-04-04 22:17:34 +00:00
some minor styling
This commit is contained in:
parent
ad1b693dcb
commit
049e16f2cb
2 changed files with 25 additions and 1 deletions
|
|
@ -554,11 +554,17 @@ function DabMetaPanel(el) {
|
|||
MetaPanel.call(this, el);
|
||||
this.modes = ['DAB'];
|
||||
this.$select = $('<select id="dab-service-id"></select>');
|
||||
$(this.el).append(this.$select);
|
||||
this.$select.on("change", function() {
|
||||
var service_id = parseInt($(this).val());
|
||||
$('#openwebrx-panel-receiver').demodulatorPanel().getDemodulator().setDabServiceId(service_id);
|
||||
});
|
||||
var $container = $(
|
||||
'<div class="dab-container">' +
|
||||
'<label for="dab-service-id">DAB Service:</label>' +
|
||||
'</div>'
|
||||
);
|
||||
$container.append(this.$select);
|
||||
$(this.el).append($container);
|
||||
this.clear();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue