reset initial demodulator params on reconnects

This commit is contained in:
Jakob Ketterl
2021-04-27 23:13:44 +02:00
parent c6e01eed1a
commit a7e2aae292
2 changed files with 7 additions and 1 deletions

View File

@ -213,6 +213,10 @@ DemodulatorPanel.prototype.setInitialParams = function(params) {
$.extend(this.initialParams, params);
};
DemodulatorPanel.prototype.resetInitialParams = function() {
this.initialParams = {};
};
DemodulatorPanel.prototype.onHashChange = function() {
this._apply(this.transformHashParams(this.parseHash()));
};