aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/static/scripts.js
diff options
context:
space:
mode:
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);