aboutsummaryrefslogtreecommitdiff
path: root/ext/js/pages/permissions-main.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-03-02 22:08:34 -0500
committerGitHub <noreply@github.com>2021-03-02 22:08:34 -0500
commitb0bc7dc08fd05fbfc45679fbad9aee82a9f2248e (patch)
tree5838c4fbb2b8d7c49726c915f1359b30daac8e31 /ext/js/pages/permissions-main.js
parent4208595293a18c2cd95064caf77db786c2902ac8 (diff)
Add a toggle for the persistent storage option on the permissions page (#1479)
Diffstat (limited to 'ext/js/pages/permissions-main.js')
-rw-r--r--ext/js/pages/permissions-main.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/js/pages/permissions-main.js b/ext/js/pages/permissions-main.js
index 782ea9ec..66fa1d42 100644
--- a/ext/js/pages/permissions-main.js
+++ b/ext/js/pages/permissions-main.js
@@ -18,6 +18,7 @@
/* global
* DocumentFocusController
* PermissionsToggleController
+ * PersistentStorageController
* SettingsController
*/
@@ -92,6 +93,9 @@ function setupPermissionsToggles() {
const permissionsToggleController = new PermissionsToggleController(settingsController);
permissionsToggleController.prepare();
+ const persistentStorageController = new PersistentStorageController();
+ persistentStorageController.prepare();
+
await promiseTimeout(100);
document.documentElement.dataset.loaded = 'true';