Skip to content

Commit

Permalink
fix issues discovered by Kuuuube
Browse files Browse the repository at this point in the history
  • Loading branch information
djahandarie committed Dec 24, 2024
1 parent ec5607b commit 58c17c3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ext/js/display/display.js
Original file line number Diff line number Diff line change
Expand Up @@ -799,6 +799,7 @@ export class Display extends EventDispatcher {
this._closePopups();
this._closeAllPopupMenus();
this._eventListeners.removeAllEventListeners();
this._contentManager.unloadAll();
this._hideTagNotification(false);
this._hideInflectionNotification(false);
this._triggerContentClear();
Expand Down Expand Up @@ -1436,9 +1437,6 @@ export class Display extends EventDispatcher {
this._dictionaryEntryNodes.push(entry);
this._addEntryEventListeners(entry);
this._triggerContentUpdateEntry(dictionaryEntry, entry, i);
safePerformance.mark('display:waitMedia:start');
safePerformance.mark('display:waitMedia:end');
safePerformance.measure('display:waitMedia', 'display:waitMedia:start', 'display:waitMedia:end');
if (this._setContentToken !== token) { return; }
container.appendChild(entry);

Expand Down

0 comments on commit 58c17c3

Please sign in to comment.