diff options
author | Jani Peter Karhunen <jkarhun2@local> | 2023-11-25 03:32:29 +0200 |
---|---|---|
committer | Jani Peter Karhunen <jkarhun2@local> | 2023-11-25 03:32:29 +0200 |
commit | d2de3ae10b6f5314bd4b8243218212d2004f35b0 (patch) | |
tree | 2ab448e0c2ec361478851dbcb43bcd176d17b584 /static/alert-timeout.js | |
parent | c059696450d301b99956d643c21b0e46b4fc39dc (diff) |
MEGA Commit. Rework of routing. Visuals. Answer analysis and much more.
Diffstat (limited to 'static/alert-timeout.js')
-rw-r--r-- | static/alert-timeout.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/static/alert-timeout.js b/static/alert-timeout.js new file mode 100644 index 0000000..01bd260 --- /dev/null +++ b/static/alert-timeout.js @@ -0,0 +1,5 @@ +Array.from(document.getElementsByClassName('kysAlert')).forEach( (a) => { + a.addEventListener('click', (event) => { + event.target.remove(); + }) + }) |