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