fug
This commit is contained in:
parent
db5b8ec309
commit
2355528b46
@ -1012,7 +1012,7 @@ Chat.prototype.sendInput = function(event) {
|
||||
console.log(board);
|
||||
var subject = self.chatElems.input.subject.value;
|
||||
var ajax = new XMLHttpRequest();
|
||||
ajax.open("POST", self.prefix+"livechan/api/post?newsgroup="+board);
|
||||
ajax.open("POST", self.prefix+"livechan/api/post?newsgroup="+board, true);
|
||||
ajax.onreadystatechange = function() {
|
||||
if (ajax.readyState == 4) {
|
||||
console.log("post done");
|
||||
|
Reference in New Issue
Block a user