summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/ajax.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/ajax.js b/js/ajax.js
index 7bb48c07..e3bb2f88 100644
--- a/js/ajax.js
+++ b/js/ajax.js
@@ -51,7 +51,7 @@ $(window).ready(function() {
document.location = post_response.redirect;
} else {
$.ajax({
- url: post_response.redirect,
+ url: document.location,
success: function(data) {
$(data).find('div.post.reply').each(function() {
var id = $(this).attr('id');