function name change

"postMessage" -> "postMsg"
This commit is contained in:
Mystikfluu
2022-10-04 21:05:48 +02:00
parent 8fe5a00164
commit c1a2833dd8
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -61,7 +61,11 @@ socket.addEventListener("open",()=> {
var cd = true //inversed "cooldown"
function postMessage() {
/*
Tell the api to create a new post with the given information
previously called "postMessage"
*/
function postMsg() {
let msg = getById("post-text").value
let len = msg.length
if(len==0){