mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 06:55:46 +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) {
|
module.createModal = function(username, touid, callback) {
|
||||||
|
|
||||||
templates.preload_template('chat', function() {
|
templates.parse('chat', {}, function(chatTpl) {
|
||||||
translator.translate(templates.chat.parse({}), function (chatTpl) {
|
translator.translate(chatTpl, function (chatTpl) {
|
||||||
|
|
||||||
var chatModal = $(chatTpl),
|
var chatModal = $(chatTpl),
|
||||||
uuid = utils.generateUUID();
|
uuid = utils.generateUUID();
|
||||||
|
|||||||
Reference in New Issue
Block a user