fix bugs, improve loading time

This commit is contained in:
Mystikfluu
2022-08-25 17:35:17 +02:00
parent 988d90b46f
commit d9fe8f2642
7 changed files with 31 additions and 18 deletions
+1 -3
View File
@@ -35,7 +35,7 @@ socket.addEventListener("message", async function (event) {
}
}
})
var posting_id = undefined;
var cd = true //inversed "cooldown"
async function postMessage() {
@@ -80,8 +80,6 @@ async function update_pid() {
console.log("Updated pid",posting_id)
}
document.getElementById("post-btn").addEventListener("click",postMessage)
function spacerTextNode() {
return document.createTextNode(" | ")
}