diff --git a/contrib/js/nntpchan/post-reply.js b/contrib/js/nntpchan/post-reply.js index 3e80894..48ee66c 100644 --- a/contrib/js/nntpchan/post-reply.js +++ b/contrib/js/nntpchan/post-reply.js @@ -164,8 +164,8 @@ ReplyBox.prototype.show = function(info) { self.clear(); setTimeout(function() { self.hide(); - if(data.redirect_url) - window.location = data.redirect_url; + if(data.url) + window.location = data.url; }, 1000); } else { self.result("error: " + data.error, "red");