add setinterval
This commit is contained in:
parent
8c3c479f88
commit
400317ffe5
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue