mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 20:45:58 +01:00
Preserve case of respondee's slug when responding to their post.
This commit is contained in:
@@ -338,7 +338,7 @@ define('forum/topic/postTools', [
|
||||
}
|
||||
|
||||
if (post.length) {
|
||||
slug = post.attr('data-userslug');
|
||||
slug = utils.slugify(post.attr('data-username'), true);
|
||||
}
|
||||
if (post.length && post.attr('data-uid') !== '0') {
|
||||
slug = '@' + slug;
|
||||
|
||||
Reference in New Issue
Block a user