mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 20:45:58 +01:00
Switch module t.js usage to Benchpress
This commit is contained in:
@@ -10,7 +10,8 @@ define('chat', [
|
||||
'forum/chats/messages',
|
||||
'translator',
|
||||
'scrollStop',
|
||||
], function (components, taskbar, S, sounds, Chats, ChatsMessages, translator, scrollStop) {
|
||||
'benchpress',
|
||||
], function (components, taskbar, S, sounds, Chats, ChatsMessages, translator, scrollStop, Benchpress) {
|
||||
var module = {};
|
||||
var newMessage = false;
|
||||
|
||||
@@ -125,7 +126,7 @@ define('chat', [
|
||||
return room.teaser;
|
||||
});
|
||||
|
||||
templates.parse('partials/chats/dropdown', {
|
||||
Benchpress.parse('partials/chats/dropdown', {
|
||||
rooms: rooms,
|
||||
}, function (html) {
|
||||
translator.translate(html, function (translated) {
|
||||
|
||||
Reference in New Issue
Block a user