delegate, don't duplicate. better this way
This commit is contained in:
parent
667fe596dc
commit
98da3a6d99
@ -93,12 +93,12 @@ YsfMetaPanel.prototype.update = function(data) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
YsfMetaPanel.prototype.clear = function() {
|
YsfMetaPanel.prototype.clear = function() {
|
||||||
|
MetaPanel.prototype.clear.call(this);
|
||||||
this.setMode();
|
this.setMode();
|
||||||
this.setSource();
|
this.setSource();
|
||||||
this.setLocation();
|
this.setLocation();
|
||||||
this.setUp();
|
this.setUp();
|
||||||
this.setDown();
|
this.setDown();
|
||||||
this.el.find(".openwebrx-meta-slot").removeClass("active");
|
|
||||||
};
|
};
|
||||||
|
|
||||||
YsfMetaPanel.prototype.setMode = function(mode) {
|
YsfMetaPanel.prototype.setMode = function(mode) {
|
||||||
|
Loading…
Reference in New Issue
Block a user