Node.js based forum software built for the modern web
fix mention regression
barisusakli8abb247870da
diff --git a/public/src/forum/topic/postTools.js b/public/src/forum/topic/postTools.jsindex a4b7708e2a..96edf0720c 100644--- a/public/src/forum/topic/postTools.js+++ b/public/src/forum/topic/postTools.js@@ -205,7 +205,7 @@ define('forum/topic/postTools', ['composer', 'share', 'navigator'], function(comif (post.length) {username = post.attr('data-username').replace(/\s/g, '-');}- if (post.attr('data-uid') !== '0') {+ if (post.length && post.attr('data-uid') !== '0') {username = '@' + username;}