diff options
Diffstat (limited to 'p/scripts/extra.js')
| -rw-r--r-- | p/scripts/extra.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/p/scripts/extra.js b/p/scripts/extra.js index fe4e54739..d34042e05 100644 --- a/p/scripts/extra.js +++ b/p/scripts/extra.js @@ -30,6 +30,10 @@ function poormanSalt() { //If crypto.getRandomValues is not available return text; } +function forgetOpenCategories() { + localStorage.removeItem('FreshRSS_open_categories'); +} + function init_crypto_form() { /* globals dcodeIO */ const crypto_form = document.getElementById('crypto-form'); @@ -45,6 +49,8 @@ function init_crypto_form() { return; } + forgetOpenCategories(); + crypto_form.onsubmit = function (e) { const submit_button = this.querySelector('button[type="submit"]'); submit_button.disabled = true; |
