mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +01:00
Change argument in action:posts.loaded
This commit is contained in:
@@ -130,7 +130,7 @@ define('forum/topic/posts', [
|
||||
pids.push(data.posts[i].pid);
|
||||
}
|
||||
|
||||
$(window).trigger('action:posts.loaded', pids);
|
||||
$(window).trigger('action:posts.loaded', {pids: pids});
|
||||
onNewPostsLoaded(html, pids);
|
||||
callback(true);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user