diff options
author | 2016-07-30 22:25:34 +0300 | |
---|---|---|
committer | 2016-07-30 22:25:34 +0300 | |
commit | db0c49e8ebd38c5bab5b3f148e0b1ba4b6feccbd (patch) | |
tree | 34cef55bfe12326e6260d22dfaa554502c781bb9 /juick-www/src | |
parent | abc13e3a14dd6565064cea76ff32b4da1f9e2f12 (diff) |
www: fix username link in incoming reply
Diffstat (limited to 'juick-www/src')
-rw-r--r-- | juick-www/src/main/static/scripts.js | 3 |
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'); |