summaryrefslogtreecommitdiff
path: root/ext/mixed/js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-15 20:36:46 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-15 20:36:46 -0500
commit217bd36abc08e03eff21144122e0bacff90e856f (patch)
tree3b6404347595517cb92af403fa5267e258074eb0 /ext/mixed/js
parentc5cbf99e89a89bfb684964328db3093c7ce07fd7 (diff)
Use consistent timeout for both setContentTerms and setContentKanji
Diffstat (limited to 'ext/mixed/js')
-rw-r--r--ext/mixed/js/display.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js
index 400a83c0..e914b082 100644
--- a/ext/mixed/js/display.js
+++ b/ext/mixed/js/display.js
@@ -450,7 +450,7 @@ class Display {
for (let i = 0, ii = definitions.length; i < ii; ++i) {
if (i > 0) {
- await promiseTimeout(0);
+ await promiseTimeout(1);
if (this.setContentToken !== token) { return; }
}