Fix page not working
This commit is contained in:
parent
cce0e075e6
commit
d379475b45
3 changed files with 5 additions and 5 deletions
|
@ -17,9 +17,9 @@ function loop() {
|
|||
}, 1000)
|
||||
}
|
||||
|
||||
window.onload = () => {
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
loop()
|
||||
}
|
||||
})
|
||||
|
||||
$(document).on('keypress',function(e) {
|
||||
if(e.which == 102) {
|
|
@ -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">
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue