mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-06 23:56:04 +02:00
closes #5312
This commit is contained in:
@@ -42,7 +42,9 @@ define('forum/account/header', [
|
||||
});
|
||||
|
||||
components.get('account/new-chat').on('click', function () {
|
||||
app.newChat(ajaxify.data.uid);
|
||||
app.newChat(ajaxify.data.uid, function () {
|
||||
components.get('account/chat').parent().removeClass('hidden');
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
@@ -173,7 +175,7 @@ define('forum/account/header', [
|
||||
if (!confirm) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
socket.emit('user.removeCover', {
|
||||
uid: ajaxify.data.uid
|
||||
}, function (err) {
|
||||
|
||||
Reference in New Issue
Block a user