Node.js based forum software built for the modern web
feat: new hook `action:topics.loading` (in the same format as `action:posts.loading`)
psychobunnye0db904b0e36
diff --git a/public/src/modules/topicList.js b/public/src/modules/topicList.jsindex 4936cfbfba..22a0db5919 100644--- a/public/src/modules/topicList.js+++ b/public/src/modules/topicList.js@@ -250,6 +250,8 @@ define('topicList', [};tplData.template[templateName] = true;+ $(window).trigger('action:topics.loading', { topics: topics, after: after, before: before });+app.parseAndTranslate(templateName, 'topics', tplData, function (html) {topicListEl.removeClass('hidden');$('#category-no-topics').remove();