diff options
| author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-02-15 20:36:46 -0500 |
|---|---|---|
| committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-02-15 20:36:46 -0500 |
| commit | 217bd36abc08e03eff21144122e0bacff90e856f (patch) | |
| tree | 3b6404347595517cb92af403fa5267e258074eb0 | |
| parent | c5cbf99e89a89bfb684964328db3093c7ce07fd7 (diff) | |
Use consistent timeout for both setContentTerms and setContentKanji
| -rw-r--r-- | ext/mixed/js/display.js | 2 |
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; } } |