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 f456099d..f37dc9c8 100644
--- a/js/ajax.js
+++ b/js/ajax.js
@@ -86,7 +86,7 @@ $(window).ready(function() {
$(this).insertAfter($('div.post:last').next()).after('<br class="clear">');
$(document).trigger('new_post', this);
// watch.js & auto-reload.js retrigger
- setTimeout(function() { window.trigger("scroll"); }, 100);
+ setTimeout(function() { $(window).trigger("scroll"); }, 100);
}
});