diff options
author | Igor Ustyugov | 2016-08-29 16:32:15 +0500 |
---|---|---|
committer | Igor Ustyugov | 2016-08-29 16:32:15 +0500 |
commit | e7e858bf508c04379a7fd46c2f07540659dc8025 (patch) | |
tree | dee358e0bea7ffc3982dd7e238340f32d7fbec30 /juick-www/src/main/static | |
parent | ce5b0b511ecd5fad82552897239d32ce89e7e590 (diff) |
wsIncomingReply fix
Diffstat (limited to 'juick-www/src/main/static')
-rw-r--r-- | juick-www/src/main/static/scripts.js | 4 |
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); |