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('
'); $(document).trigger('new_post', this); // watch.js & auto-reload.js retrigger - setTimeout(function() { window.trigger("scroll"); }, 100); + setTimeout(function() { $(window).trigger("scroll"); }, 100); } });