aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-07-30 22:25:34 +0300
committerGravatar Vitaly Takmazov2016-07-30 22:25:34 +0300
commitdb0c49e8ebd38c5bab5b3f148e0b1ba4b6feccbd (patch)
tree34cef55bfe12326e6260d22dfaa554502c781bb9
parentabc13e3a14dd6565064cea76ff32b4da1f9e2f12 (diff)
www: fix username link in incoming reply
-rw-r--r--juick-www/src/main/static/scripts.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/juick-www/src/main/static/scripts.js b/juick-www/src/main/static/scripts.js
index 6088da97..876fa6d1 100644
--- a/juick-www/src/main/static/scripts.js
+++ b/juick-www/src/main/static/scripts.js
@@ -103,9 +103,8 @@ function wsIncomingReply(msg) {
msgHeader.setAttribute('class', 'msg-header');
var msgHeaderLink = document.createElement('a');
msgHeaderLink.setAttribute('href', '/' + msg.user.uname + '/');
- msgHeaderLink.textContent = '@' + msg.user.uname;
+ msgHeaderLink.textContent = '@' + msg.user.uname + ':';
msgHeader.appendChild(msgHeaderLink);
- msgHeader.textContent = msgHeaderLink.textContent + ':';
var msgTimestamp = document.createElement('div');
msgTimestamp.setAttribute('class', 'msg-ts');
var msgTimestampLink = document.createElement('a');