feat: put javascript into separate files

This commit is contained in:
Kat Inskip 2025-11-09 06:34:41 -08:00
parent 95345afe2f
commit 6ebd2ddee9
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
4 changed files with 31 additions and 31 deletions

9
static/nonoscript.js Normal file
View file

@ -0,0 +1,9 @@
function nonoscriptImplementer() {
var nonoscript = document.getElementsByClassName("nonoscript");
console.log(nonoscript);
for (let item of nonoscript) {
console.log("meep!");
item.classList.remove("nonoscript");
}
}
window.onload = nonoscriptImplementer();