diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-03-02 22:08:34 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-02 22:08:34 -0500 |
commit | b0bc7dc08fd05fbfc45679fbad9aee82a9f2248e (patch) | |
tree | 5838c4fbb2b8d7c49726c915f1359b30daac8e31 /ext/js/pages | |
parent | 4208595293a18c2cd95064caf77db786c2902ac8 (diff) |
Add a toggle for the persistent storage option on the permissions page (#1479)
Diffstat (limited to 'ext/js/pages')
-rw-r--r-- | ext/js/pages/permissions-main.js | 4 |
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'; |