Skip to content

Node.js based forum software built for the modern web

feat: add action:posts.loaded

Barış Soner Uşaklıdbb59228f2de
diff --git a/public/src/client/account/posts.js b/public/src/client/account/posts.js
index 7c9fff5df4..ed9629ef5a 100644
--- a/public/src/client/account/posts.js
+++ b/public/src/client/account/posts.js
@@ -47,6 +47,7 @@ define('forum/account/posts', ['forum/account/header', 'forum/infinitescroll'],
html.find('.timeago').timeago();
app.createUserTooltips();
utils.makeNumbersHumanReadable(html.find('.human-readable-number'));
+ $(window).trigger('action:posts.loaded', { posts: posts });
callback();
});
}