Fix page not working

This commit is contained in:
bingus_violet 2024-07-26 03:16:39 -05:00
parent cce0e075e6
commit d379475b45
3 changed files with 5 additions and 5 deletions

View file

@ -17,9 +17,9 @@ function loop() {
}, 1000)
}
window.onload = () => {
document.addEventListener("DOMContentLoaded", function() {
loop()
}
})
$(document).on('keypress',function(e) {
if(e.which == 102) {

View file

@ -9,7 +9,7 @@
<script src="../jquery.js"></script>
<script src="../main.js"></script>
<script src="./fullscreen.js"></script>
<script src="./main.js"></script>
<script src="./ambient.js"></script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

View file

@ -154,7 +154,7 @@ window.onbeforeunload = function () {
window.scrollTo(0, 0);
}
window.onload = function () {
document.addEventListener("DOMContentLoaded", function() {
$("#jsEnabled").text("true")
pfp = $(".pfp")
@ -191,7 +191,7 @@ window.onload = function () {
}
}
socketeer()
}
})
var lastPong = Date.now()