From 305c54a727edbb861ef67642f8bbc77ecdd2c027 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Thu, 16 Jul 2015 13:20:26 -0400 Subject: [PATCH] fixed bug where an extra space was added to new replies --- public/src/client/topic/postTools.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/client/topic/postTools.js b/public/src/client/topic/postTools.js index c3e31103bd..bee2c15486 100644 --- a/public/src/client/topic/postTools.js +++ b/public/src/client/topic/postTools.js @@ -164,7 +164,7 @@ define('forum/topic/postTools', ['share', 'navigator', 'components', 'translator tid: tid, pid: getData(button, 'data-pid'), topicName: topicName, - text: username + ' ' || '' + text: username ? username + ' ' : '' }); } }