summaryrefslogtreecommitdiff
path: root/ext/bg/js/dictionary-database.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bg/js/dictionary-database.js')
-rw-r--r--ext/bg/js/dictionary-database.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/bg/js/dictionary-database.js b/ext/bg/js/dictionary-database.js
index c48320cd..671be7a8 100644
--- a/ext/bg/js/dictionary-database.js
+++ b/ext/bg/js/dictionary-database.js
@@ -16,13 +16,13 @@
*/
/* global
- * GenericDatabase
+ * Database
* dictFieldSplit
*/
class DictionaryDatabase {
constructor() {
- this._db = new GenericDatabase();
+ this._db = new Database();
this._dbName = 'dict';
this._schemas = new Map();
}
@@ -118,7 +118,7 @@ class DictionaryDatabase {
if (this._db.isOpen()) {
this._db.close();
}
- await GenericDatabase.deleteDatabase(this._dbName);
+ await Database.deleteDatabase(this._dbName);
await this.prepare();
}