Skip to content

Commit

Permalink
Add missing removeAllEventListeners to display-anki _onContentClear
Browse files Browse the repository at this point in the history
  • Loading branch information
Kuuuube committed Dec 10, 2024
1 parent d9a2c87 commit 0c7ab12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/js/display/display-anki.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ export class DisplayAnki {
this._updateDictionaryEntryDetailsToken = null;
this._dictionaryEntryDetails = null;
this._hideErrorNotification(false);
this._eventListeners.removeAllEventListeners();
}

/** */
Expand Down

0 comments on commit 0c7ab12

Please sign in to comment.