From f800eaa88d4b03a424b568cf0fb423ede19cf4fb Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 21 May 2018 22:51:44 +0300 Subject: www: fix websocket replies formatting --- juick-www/src/main/assets/scripts.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'juick-www/src/main') diff --git a/juick-www/src/main/assets/scripts.js b/juick-www/src/main/assets/scripts.js index 63170d49..2cf50ef9 100644 --- a/juick-www/src/main/assets/scripts.js +++ b/juick-www/src/main/assets/scripts.js @@ -199,7 +199,7 @@ function wsIncomingReply(msg) { if (msg.replyto > 0) { msgNum += ` ${i18n('message.inReplyTo')} /${msg.replyto}`; } - let photoDiv = (msg.attach === undefined) ? '' : ` + let photoDiv = (msg.attach == null) ? '' : `
`; @@ -211,7 +211,7 @@ function wsIncomingReply(msg) {