diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2020-05-29 20:28:12 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-29 20:28:12 -0400 |
commit | 9624566d2af853141ea5c6c781a019eeea212066 (patch) | |
tree | 3cfeb9a89321a9cb79d2b766d93adb18c295f544 /ext/bg/js/settings/main.js | |
parent | 418e8a57bf7ea1def3e7b83270742d466e98e8cf (diff) |
Convert popup-preview.js to a class (#571)
* Convert popup-preview.js to a class
* Don't invoke 'prepare'
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 1d387749..b84824e6 100644 --- a/ext/bg/js/settings/main.js +++ b/ext/bg/js/settings/main.js @@ -20,12 +20,12 @@ * AnkiTemplatesController * AudioController * DictionaryController + * PopupPreviewController * ProfileController * SettingsBackup * SettingsController * StorageController * api - * appearanceInitialize * utilBackend * utilBackgroundIsolate */ @@ -330,7 +330,7 @@ async function onReady() { await settingsPopulateModifierKeys(); formSetupEventListeners(); - appearanceInitialize(); + new PopupPreviewController().prepare(); new AudioController().prepare(); await (new ProfileController()).prepare(); dictionaryController = new DictionaryController(storageController); |