Comment endpoint setup

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
main
sigonasr2, Sig, Sigo 2 years ago
parent 455c5bcc75
commit fab32f9c4d
  1. 6
      ref/COMMENT.html

@ -7,7 +7,11 @@
.then((data)=>{
data=data.split("\n");
for (var i=0;i<data.length;i++) {
document.getElementById("comments").innerHTML+=data[i]+"<br>"
if (i==0) {
document.getElementById("commentCounter").innerText=data[i]
} else {
document.getElementById("comments").innerHTML+=data[i]+"<br>"
}
}
})
}

Loading…
Cancel
Save