feat: add action:posts.loaded

v1.18.x
Barış Soner Uşaklı 4 years ago
parent 536591f842
commit dbb59228f2

@ -47,6 +47,7 @@ define('forum/account/posts', ['forum/account/header', 'forum/infinitescroll'],
html.find('.timeago').timeago(); html.find('.timeago').timeago();
app.createUserTooltips(); app.createUserTooltips();
utils.makeNumbersHumanReadable(html.find('.human-readable-number')); utils.makeNumbersHumanReadable(html.find('.human-readable-number'));
$(window).trigger('action:posts.loaded', { posts: posts });
callback(); callback();
}); });
} }

Loading…
Cancel
Save