Archived
1
0
This commit is contained in:
Jeff Becker 2016-10-02 20:42:45 -04:00
parent db5b8ec309
commit 2355528b46
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B

View File

@ -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");