diff --git a/contrib/js/nntpchan/post-reply.js b/contrib/js/nntpchan/post-reply.js index 0934bd7..0062215 100644 --- a/contrib/js/nntpchan/post-reply.js +++ b/contrib/js/nntpchan/post-reply.js @@ -150,8 +150,9 @@ ReplyBox.prototype.show = function(info) { left: $(info.elem).width() + off.left }); self.submit.onclick = function(ev) { - $.ajax({ - data: self.makePost(info), + var post = self.makePost(info); + var a = $.ajax({ + data: post, url: info.url, method: "POST", dataType: "json"