mirror of
https://github.com/kittywitch/dork.dev.git
synced 2026-02-09 15:19:18 -08:00
feat: put javascript into separate files
This commit is contained in:
parent
95345afe2f
commit
6ebd2ddee9
4 changed files with 31 additions and 31 deletions
9
static/nonoscript.js
Normal file
9
static/nonoscript.js
Normal 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();
|
||||
Loading…
Add table
Add a link
Reference in a new issue