aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/settings2/settings-main.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-02-04 22:17:42 -0500
committerGitHub <noreply@github.com>2021-02-04 22:17:42 -0500
commit8f97ca0aacd9a9f36038aa680cc6b9929450fbc5 (patch)
tree098eac7465562f7407cb9978c083378c7d6bcbb3 /ext/bg/js/settings2/settings-main.js
parent47f16862d0d55ccf9755075741c85d9e6e662e73 (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/settings2/settings-main.js')
-rw-r--r--ext/bg/js/settings2/settings-main.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/bg/js/settings2/settings-main.js b/ext/bg/js/settings2/settings-main.js
index 31c5b0fa..f4a38d85 100644
--- a/ext/bg/js/settings2/settings-main.js
+++ b/ext/bg/js/settings2/settings-main.js
@@ -20,7 +20,6 @@
* AnkiTemplatesController
* AudioController
* BackupController
- * ClipboardPopupsController
* DictionaryController
* DictionaryImportController
* DocumentFocusController
@@ -29,6 +28,7 @@
* KeyboardShortcutController
* ModalController
* NestedPopupsController
+ * PermissionsToggleController
* PopupPreviewController
* PopupWindowController
* ProfileController
@@ -119,8 +119,8 @@ async function setupGenericSettingsController(genericSettingController) {
const nestedPopupsController = new NestedPopupsController(settingsController);
nestedPopupsController.prepare();
- const clipboardPopupsController = new ClipboardPopupsController(settingsController);
- clipboardPopupsController.prepare();
+ const permissionsToggleController = new PermissionsToggleController(settingsController);
+ permissionsToggleController.prepare();
const secondarySearchDictionaryController = new SecondarySearchDictionaryController(settingsController);
secondarySearchDictionaryController.prepare();