diff options
Diffstat (limited to 'ext/js/data/anki-note-builder.js')
-rw-r--r-- | ext/js/data/anki-note-builder.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/js/data/anki-note-builder.js b/ext/js/data/anki-note-builder.js index 52160abc..32d4b593 100644 --- a/ext/js/data/anki-note-builder.js +++ b/ext/js/data/anki-note-builder.js @@ -286,7 +286,7 @@ export class AnkiNoteBuilder { _runBatchedRequestsDelayed() { if (this._batchedRequestsQueued) { return; } this._batchedRequestsQueued = true; - Promise.resolve().then(() => { + void Promise.resolve().then(() => { this._batchedRequestsQueued = false; this._runBatchedRequests(); }); @@ -322,7 +322,7 @@ export class AnkiNoteBuilder { this._batchedRequests.length = 0; - this._resolveBatchedRequests(items, allRequests); + void this._resolveBatchedRequests(items, allRequests); } /** |