Skip to content

Node.js based forum software built for the modern web

added new client-side hook on thread tools open

Julian Lam04dcd38d045e
diff --git a/public/src/client/topic/threadTools.js b/public/src/client/topic/threadTools.js
index 69c8fad673..7f6c2a773c 100644
--- a/public/src/client/topic/threadTools.js
+++ b/public/src/client/topic/threadTools.js
@@ -112,6 +112,7 @@ define('forum/topic/threadTools', ['forum/topic/fork', 'forum/topic/move', 'comp
templates.parse('partials/topic/topic-menu-list', data, function(html) {
translator.translate(html, function(html) {
dropdownMenu.html(html);
+ $(window).trigger('action:topic.tools.load');
});
});
});