Preserve case of respondee's slug when responding to their post.

This commit is contained in:
djls45
2018-07-16 20:35:36 -04:00
committed by Julian Lam
parent b7fc8493b7
commit 4f0a24cfed

View File

@@ -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;