mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 20:45:58 +01:00
Switch client t.js usage to Benchpress
This commit is contained in:
@@ -7,7 +7,8 @@ define('forum/topic/threadTools', [
|
||||
'forum/topic/delete-posts',
|
||||
'components',
|
||||
'translator',
|
||||
], function (fork, move, deletePosts, components, translator) {
|
||||
'benchpress',
|
||||
], function (fork, move, deletePosts, components, translator, Benchpress) {
|
||||
var ThreadTools = {};
|
||||
|
||||
ThreadTools.init = function (tid) {
|
||||
@@ -138,7 +139,7 @@ define('forum/topic/threadTools', [
|
||||
return app.alertError(err);
|
||||
}
|
||||
|
||||
templates.parse('partials/topic/topic-menu-list', data, function (html) {
|
||||
Benchpress.parse('partials/topic/topic-menu-list', data, function (html) {
|
||||
translator.translate(html, function (html) {
|
||||
dropdownMenu.html(html);
|
||||
$(window).trigger('action:topic.tools.load');
|
||||
|
||||
Reference in New Issue
Block a user