aboutsummaryrefslogtreecommitdiff
path: root/ext/js/display/display.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-07-03 20:09:22 -0400
committerGitHub <noreply@github.com>2021-07-03 20:09:22 -0400
commit468c923277aa82e336413cdb6dfea17f08f55f3a (patch)
treefb41bddb98376dc3a4804712d1cd74d5b1871168 /ext/js/display/display.js
parentea47cb82487ac12379b2bdf89a3a9155608f45f7 (diff)
Update the note context object generation process to ensure consistency (#1792)
Diffstat (limited to 'ext/js/display/display.js')
-rw-r--r--ext/js/display/display.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/js/display/display.js b/ext/js/display/display.js
index 8387ae4f..9fd56e91 100644
--- a/ext/js/display/display.js
+++ b/ext/js/display/display.js
@@ -946,6 +946,8 @@ class Display extends EventDispatcher {
const container = this._container;
container.textContent = '';
+ this._displayAnki.setupEntriesBegin();
+
for (let i = 0, ii = dictionaryEntries.length; i < ii; ++i) {
if (i > 0) {
await promiseTimeout(1);