mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
fixed extra space in new if there is no username
This commit is contained in:
@@ -73,7 +73,8 @@ define(['composer'], function(composer) {
|
||||
}
|
||||
}
|
||||
|
||||
var username = getUserName(button) + ' ';
|
||||
var username = getUserName(button);
|
||||
username += username ? ' ' : '';
|
||||
|
||||
composer.newReply(tid, getPid(button), topicName, selectionText.length > 0 ? selectionText + '\n\n' + username : '' + username);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user