summaryrefslogtreecommitdiff
path: root/ext/bg/js/settings/main.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-05-24 13:56:46 -0400
committerGitHub <noreply@github.com>2020-05-24 13:56:46 -0400
commit13f57cccba5a29ff9e270a3fc2b2d7fee6e46b51 (patch)
tree6364e4cf5fc499e412a96d67b20e997d5d773267 /ext/bg/js/settings/main.js
parent66e1185686f98f1cc4493298b5b1d4e0be7d826a (diff)
Settings backup refactor (#551)
* Update backup.js to be a class * Move utilReadFileArrayBuffer
Diffstat (limited to 'ext/bg/js/settings/main.js')
-rw-r--r--ext/bg/js/settings/main.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/settings/main.js b/ext/bg/js/settings/main.js
index 60b9e008..f96167af 100644
--- a/ext/bg/js/settings/main.js
+++ b/ext/bg/js/settings/main.js
@@ -16,13 +16,13 @@
*/
/* global
+ * SettingsBackup
* ankiInitialize
* ankiTemplatesInitialize
* ankiTemplatesUpdateValue
* api
* appearanceInitialize
* audioSettingsInitialize
- * backupInitialize
* dictSettingsInitialize
* getOptionsContext
* onAnkiOptionsChanged
@@ -302,7 +302,7 @@ async function onReady() {
await dictSettingsInitialize();
ankiInitialize();
ankiTemplatesInitialize();
- backupInitialize();
+ new SettingsBackup().prepare();
storageInfoInitialize();