From d000fcc993c006cb834fac9c70772ce477646881 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Mon, 16 Jan 2017 14:51:28 -0500 Subject: [PATCH] more --- contrib/js/nntpchan/post-reply.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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"