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)
|
}, 1000)
|
||||||
}
|
}
|
||||||
|
|
||||||
window.onload = () => {
|
document.addEventListener("DOMContentLoaded", function() {
|
||||||
loop()
|
loop()
|
||||||
}
|
})
|
||||||
|
|
||||||
$(document).on('keypress',function(e) {
|
$(document).on('keypress',function(e) {
|
||||||
if(e.which == 102) {
|
if(e.which == 102) {
|
|
@ -9,7 +9,7 @@
|
||||||
<script src="../jquery.js"></script>
|
<script src="../jquery.js"></script>
|
||||||
<script src="../main.js"></script>
|
<script src="../main.js"></script>
|
||||||
<script src="./fullscreen.js"></script>
|
<script src="./fullscreen.js"></script>
|
||||||
<script src="./main.js"></script>
|
<script src="./ambient.js"></script>
|
||||||
|
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
|
|
@ -154,7 +154,7 @@ window.onbeforeunload = function () {
|
||||||
window.scrollTo(0, 0);
|
window.scrollTo(0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
window.onload = function () {
|
document.addEventListener("DOMContentLoaded", function() {
|
||||||
$("#jsEnabled").text("true")
|
$("#jsEnabled").text("true")
|
||||||
|
|
||||||
pfp = $(".pfp")
|
pfp = $(".pfp")
|
||||||
|
@ -191,7 +191,7 @@ window.onload = function () {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
socketeer()
|
socketeer()
|
||||||
}
|
})
|
||||||
|
|
||||||
var lastPong = Date.now()
|
var lastPong = Date.now()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue