summaryrefslogtreecommitdiffstats
path: root/assets/js
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-12-02 00:54:57 +0100
committersijanec <sijanecantonluka@gmail.com>2020-12-02 00:54:57 +0100
commit9c79d997b23d9c688d2aec9392c9cf3b4f71b080 (patch)
tree585abdafad77a67ba1899092d49b5c1be55c13bc /assets/js
parentah yes, array pop and pass by reference (diff)
downloadsijanec.eu-9c79d997b23d9c688d2aec9392c9cf3b4f71b080.tar
sijanec.eu-9c79d997b23d9c688d2aec9392c9cf3b4f71b080.tar.gz
sijanec.eu-9c79d997b23d9c688d2aec9392c9cf3b4f71b080.tar.bz2
sijanec.eu-9c79d997b23d9c688d2aec9392c9cf3b4f71b080.tar.lz
sijanec.eu-9c79d997b23d9c688d2aec9392c9cf3b4f71b080.tar.xz
sijanec.eu-9c79d997b23d9c688d2aec9392c9cf3b4f71b080.tar.zst
sijanec.eu-9c79d997b23d9c688d2aec9392c9cf3b4f71b080.zip
Diffstat (limited to 'assets/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.