don't highlight for data

This commit is contained in:
Jakob Ketterl 2021-08-11 14:10:52 +02:00
parent 1e8527da68
commit bb56eb8db2
1 changed files with 3 additions and 1 deletions

View File

@ -112,7 +112,9 @@ YsfMetaPanel.prototype.update = function(data) {
this.setLocation(data['lat'], data['lon'], data['source']);
this.setUp(data['up']);
this.setDown(data['down']);
this.el.find(".openwebrx-meta-slot").addClass("active");
if (data['mode'].indexOf('data') < 0) {
this.el.find(".openwebrx-meta-slot").addClass("active");
}
} else {
this.clear();
}