add setinterval

This commit is contained in:
Tykayn 2024-05-05 09:44:28 +02:00 committed by tykayn
parent 8c3c479f88
commit 400317ffe5

View File

@ -179,5 +179,6 @@ function main () {
document.addEventListener('hashchange', () => main()) document.addEventListener('hashchange', () => main())
document.addEventListener('DOMContentLoaded', () => main()) document.addEventListener('DOMContentLoaded', () => main())
document.addEventListener('mouseup', () => main()) document.addEventListener('mouseup', () => main())
setInterval(main(),1000)
main() main()