mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
feat: pass in target element in action:topic.tools.load
This commit is contained in:
@@ -153,7 +153,9 @@ define('forum/topic/threadTools', [
|
||||
}
|
||||
app.parseAndTranslate('partials/topic/topic-menu-list', data, function (html) {
|
||||
dropdownMenu.html(html);
|
||||
$(window).trigger('action:topic.tools.load');
|
||||
$(window).trigger('action:topic.tools.load', {
|
||||
element: dropdownMenu,
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user