don't highlight for data
This commit is contained in:
parent
1e8527da68
commit
bb56eb8db2
@ -112,7 +112,9 @@ YsfMetaPanel.prototype.update = function(data) {
|
|||||||
this.setLocation(data['lat'], data['lon'], data['source']);
|
this.setLocation(data['lat'], data['lon'], data['source']);
|
||||||
this.setUp(data['up']);
|
this.setUp(data['up']);
|
||||||
this.setDown(data['down']);
|
this.setDown(data['down']);
|
||||||
|
if (data['mode'].indexOf('data') < 0) {
|
||||||
this.el.find(".openwebrx-meta-slot").addClass("active");
|
this.el.find(".openwebrx-meta-slot").addClass("active");
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
this.clear();
|
this.clear();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user