Use consistent timeout for both setContentTerms and setContentKanji

This commit is contained in:
toasted-nutbread 2020-02-15 20:36:46 -05:00
parent c5cbf99e89
commit 217bd36abc

View File

@ -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; }
}