add missing removal of event listener to ws fallback ui.js

This commit is contained in:
schlagmichdoch 2023-03-06 15:32:58 +01:00
parent c9dca7e083
commit cdfbc7a2df

View file

@ -1386,6 +1386,8 @@ class Base64ZipDialog extends Dialog {
hide() { hide() {
this.clearBrowserHistory(); this.clearBrowserHistory();
this.$pasteBtn.removeEventListener('click', _ => this._clickCallback());
this.$fallbackTextarea.removeEventListener('input', _ => this._inputCallback());
super.hide(); super.hide();
} }
} }