From 0c7ab125cd2ada64a875ae334d3b84348a9e12be Mon Sep 17 00:00:00 2001 From: kuuuube Date: Tue, 10 Dec 2024 00:06:35 -0500 Subject: [PATCH] Add missing removeAllEventListeners to display-anki _onContentClear --- ext/js/display/display-anki.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/js/display/display-anki.js b/ext/js/display/display-anki.js index 1ce12b09a..e33789c6a 100644 --- a/ext/js/display/display-anki.js +++ b/ext/js/display/display-anki.js @@ -249,6 +249,7 @@ export class DisplayAnki { this._updateDictionaryEntryDetailsToken = null; this._dictionaryEntryDetails = null; this._hideErrorNotification(false); + this._eventListeners.removeAllEventListeners(); } /** */