Use consistent timeout for both setContentTerms and setContentKanji
This commit is contained in:
parent
c5cbf99e89
commit
217bd36abc
@ -450,7 +450,7 @@ class Display {
|
|||||||
|
|
||||||
for (let i = 0, ii = definitions.length; i < ii; ++i) {
|
for (let i = 0, ii = definitions.length; i < ii; ++i) {
|
||||||
if (i > 0) {
|
if (i > 0) {
|
||||||
await promiseTimeout(0);
|
await promiseTimeout(1);
|
||||||
if (this.setContentToken !== token) { return; }
|
if (this.setContentToken !== token) { return; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user