summaryrefslogtreecommitdiff
path: root/ext/js/language/dictionary-worker-handler.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/js/language/dictionary-worker-handler.js')
-rw-r--r--ext/js/language/dictionary-worker-handler.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/language/dictionary-worker-handler.js b/ext/js/language/dictionary-worker-handler.js
index 3ce744f9..8aa6a265 100644
--- a/ext/js/language/dictionary-worker-handler.js
+++ b/ext/js/language/dictionary-worker-handler.js
@@ -84,7 +84,7 @@ class DictionaryWorkerHandler {
async _deleteDictionary({dictionaryTitle}, onProgress) {
const dictionaryDatabase = await this._getPreparedDictionaryDatabase();
try {
- return await dictionaryDatabase.deleteDictionary(dictionaryTitle, {rate: 1000}, onProgress);
+ return await dictionaryDatabase.deleteDictionary(dictionaryTitle, 1000, onProgress);
} finally {
dictionaryDatabase.close();
}