From cdfbc7a2dfa4c24f4eb2b89a5e0b093b6b9a2801 Mon Sep 17 00:00:00 2001 From: schlagmichdoch Date: Mon, 6 Mar 2023 15:32:58 +0100 Subject: [PATCH] add missing removal of event listener to ws fallback ui.js --- public_included_ws_fallback/scripts/ui.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public_included_ws_fallback/scripts/ui.js b/public_included_ws_fallback/scripts/ui.js index 8968521..5762e3b 100644 --- a/public_included_ws_fallback/scripts/ui.js +++ b/public_included_ws_fallback/scripts/ui.js @@ -1386,6 +1386,8 @@ class Base64ZipDialog extends Dialog { hide() { this.clearBrowserHistory(); + this.$pasteBtn.removeEventListener('click', _ => this._clickCallback()); + this.$fallbackTextarea.removeEventListener('input', _ => this._inputCallback()); super.hide(); } }