mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
action:posts.loading
This commit is contained in:
@@ -137,6 +137,8 @@ define('forum/topic/posts', [
|
||||
data.slug = ajaxify.data.slug;
|
||||
data.viewcount = ajaxify.data.viewcount;
|
||||
|
||||
$(window).trigger('action:posts.loading', {posts: data.posts, after: after, before: before});
|
||||
|
||||
infinitescroll.parseAndTranslate('topic', 'posts', data, function(html) {
|
||||
if (after) {
|
||||
html.insertAfter(after);
|
||||
|
||||
Reference in New Issue
Block a user