mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-15 18:26:15 +01:00
Merge branch 'master' into fix-vendors
This commit is contained in:
@@ -242,7 +242,7 @@ define('forum/chats', ['components', 'string', 'sounds', 'forum/infinitescroll',
|
||||
|
||||
if (data.users && data.users.length) {
|
||||
data.users.forEach(function(user) {
|
||||
tagEl.tagsinput('add', user.username);
|
||||
tagEl.tagsinput('add', $('<div/>').html(user.username).text());
|
||||
});
|
||||
}
|
||||
|
||||
@@ -376,7 +376,7 @@ define('forum/chats', ['components', 'string', 'sounds', 'forum/infinitescroll',
|
||||
Chats.onChatEdit();
|
||||
|
||||
socket.on('event:chats.roomRename', function(data) {
|
||||
$('[component="chat/room/name"]').val(data.newName);
|
||||
$('[component="chat/room/name"]').val($('<div/>').html(data.newName).text());
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user