From 876cb878a99ac961c26b3ac5c32fe1277f8ac5a7 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Wed, 25 Jun 2014 21:28:03 -0400 Subject: [PATCH] added action:posts.loaded client-side hook --- public/src/forum/topic.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/src/forum/topic.js b/public/src/forum/topic.js index 86daf104e2..6ef7dd17fb 100644 --- a/public/src/forum/topic.js +++ b/public/src/forum/topic.js @@ -300,6 +300,7 @@ define('forum/topic', dependencies, function(pagination, infinitescroll, threadT addBlockquoteEllipses(html.find('.post-content > blockquote')); + $(window).trigger('action:posts.loaded'); onNewPostsLoaded(html, data.posts); if (typeof callback === 'function') { callback();