mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-04 21:15:55 +01:00
fixes #1296
This commit is contained in:
@@ -119,8 +119,8 @@ define(['taskbar', 'string', 'sounds'], function(taskbar, S, sounds) {
|
||||
|
||||
module.createModal = function(username, touid, callback) {
|
||||
|
||||
templates.preload_template('chat', function() {
|
||||
translator.translate(templates.chat.parse({}), function (chatTpl) {
|
||||
templates.parse('chat', {}, function(chatTpl) {
|
||||
translator.translate(chatTpl, function (chatTpl) {
|
||||
|
||||
var chatModal = $(chatTpl),
|
||||
uuid = utils.generateUUID();
|
||||
|
||||
Reference in New Issue
Block a user