aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/app/js/settings.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/app/js/settings.js b/src/app/js/settings.js
index 78a951e..57d542a 100644
--- a/src/app/js/settings.js
+++ b/src/app/js/settings.js
@@ -36,6 +36,12 @@ var Settings = {
return opts;
},
load: () => {
+ // re-opens any closed categories
+ let categories = document.querySelectorAll("#options details");
+ for (let i = 0; i < categories.length; i++) {
+ categories[i].setAttribute("open", true);
+ }
+
let options = document.querySelectorAll(".option");
for (let i = 0; i < options.length; i++) {