diff options
author | Yorhel <git@yorhel.nl> | 2022-08-21 12:58:07 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2022-08-21 12:58:07 +0200 |
commit | 5eb3eaa7484ade5bfd4492af95de0a0d3dcc2c03 (patch) | |
tree | 4a0e98558081a1e37576b8eff3951b8fcca96bcb /elm | |
parent | dd840acc005eac6f07b35f56e04dff3d9f5cfe5e (diff) |
Clear unused cookie & localStorage
Diffstat (limited to 'elm')
-rw-r--r-- | elm/clear-storage.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/elm/clear-storage.js b/elm/clear-storage.js new file mode 100644 index 00000000..db793820 --- /dev/null +++ b/elm/clear-storage.js @@ -0,0 +1,3 @@ +/* We used to use localStorage for some client-side preferences, no need to + * keep that data around now that that feature is gone. */ +if(window.localStorage) window.localStorage.clear(); |