From db0c49e8ebd38c5bab5b3f148e0b1ba4b6feccbd Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sat, 30 Jul 2016 22:25:34 +0300 Subject: www: fix username link in incoming reply --- juick-www/src/main/static/scripts.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'juick-www/src') 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'); -- cgit v1.2.3