fix bugs, improve loading time
This commit is contained in:
+1
-3
@@ -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(" | ")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user