aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/static/scripts.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-08-29 14:39:47 +0300
committerGravatar Vitaly Takmazov2016-08-29 14:39:47 +0300
commitecbb51593fb5dc0831b97d7c3ba5a04faaa47159 (patch)
tree46dcb0e40cf15dca3a1bf6bcf60418fca3f29f8a /juick-www/src/main/static/scripts.js
parentba63a47bcd933f74e95038d6348a8a654d1021c4 (diff)
parente7e858bf508c04379a7fd46c2f07540659dc8025 (diff)
Merge remote-tracking branch 'origin/design'
Diffstat (limited to 'juick-www/src/main/static/scripts.js')
-rw-r--r--juick-www/src/main/static/scripts.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/juick-www/src/main/static/scripts.js b/juick-www/src/main/static/scripts.js
index 3a656364..36b6fc36 100644
--- a/juick-www/src/main/static/scripts.js
+++ b/juick-www/src/main/static/scripts.js
@@ -92,7 +92,6 @@ function wsIncomingReply(msg) {
msgAvatarImg.setAttribute('src', '//i.juick.com/a/' + msg.user.uid + '.png');
msgAvatarLink.appendChild(msgAvatarImg);
msgAvatar.appendChild(msgAvatarLink);
- li.appendChild(msgAvatar);
var msgCont = document.createElement('div');
msgCont.setAttribute('class', 'msg-cont');
@@ -140,8 +139,9 @@ function wsIncomingReply(msg) {
msgComment.setAttribute('class', 'msg-comment');
msgComment.style.display = 'none';
msgCont.appendChild(msgMenu);
+ msgCont.appendChild(msgTimestamp);
+ msgCont.appendChild(msgAvatar);
msgCont.appendChild(msgHeader);
- msgCont.appendChild(msgTimestamp);
msgCont.appendChild(msgTxt);
msgCont.appendChild(msgLinks);
msgCont.appendChild(msgComment);