summaryrefslogtreecommitdiffstats
path: root/assets/js/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/js/main.js')
-rw-r--r--assets/js/main.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/assets/js/main.js b/assets/js/main.js
index 9a7bb1b..3fe88f9 100644
--- a/assets/js/main.js
+++ b/assets/js/main.js
@@ -9,3 +9,4 @@ if (document.location.protocol != "https:"
console.log("ne bom predlagal HTTPS, ker HTTPS ne deluje, ker: "+error);
});
}
+document.querySelectorAll(".commentform").forEach((c)=>{c.parentElement.previousElementSibling.checked=false}); // enovrstičnica, ki skrije komentar-forme, če checkbox statusi ostanejo po reloadu.