diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-02-04 22:17:42 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-04 22:17:42 -0500 |
commit | 8f97ca0aacd9a9f36038aa680cc6b9929450fbc5 (patch) | |
tree | 098eac7465562f7407cb9978c083378c7d6bcbb3 /ext/bg/js/settings/main.js | |
parent | 47f16862d0d55ccf9755075741c85d9e6e662e73 (diff) |
Permissions toggle controller (#1347)
* Move file, rename class
* Expose required permissions in an attribute
* Update selector
* Update attribute
* Fix global declaration order
Diffstat (limited to 'ext/bg/js/settings/main.js')
-rw-r--r-- | ext/bg/js/settings/main.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/bg/js/settings/main.js b/ext/bg/js/settings/main.js index 0ce0b2db..9786d196 100644 --- a/ext/bg/js/settings/main.js +++ b/ext/bg/js/settings/main.js @@ -20,11 +20,11 @@ * AnkiTemplatesController * AudioController * BackupController - * ClipboardPopupsController * DictionaryController * DictionaryImportController * GenericSettingController * ModalController + * PermissionsToggleController * PopupPreviewController * ProfileController * ScanInputsController @@ -71,8 +71,8 @@ async function setupEnvironmentInfo() { const genericSettingController = new GenericSettingController(settingsController); genericSettingController.prepare(); - const clipboardPopupsController = new ClipboardPopupsController(settingsController); - clipboardPopupsController.prepare(); + const permissionsToggleController = new PermissionsToggleController(settingsController); + permissionsToggleController.prepare(); const popupPreviewController = new PopupPreviewController(settingsController); popupPreviewController.prepare(); |