diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-05-24 13:56:46 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-24 13:56:46 -0400 |
commit | 13f57cccba5a29ff9e270a3fc2b2d7fee6e46b51 (patch) | |
tree | 6364e4cf5fc499e412a96d67b20e997d5d773267 /ext/bg/js/settings/main.js | |
parent | 66e1185686f98f1cc4493298b5b1d4e0be7d826a (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.js | 4 |
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(); |