aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'juick-www/src/main')
-rw-r--r--juick-www/src/main/static/scripts.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-www/src/main/static/scripts.js b/juick-www/src/main/static/scripts.js
index 7c8b02b0..78be5344 100644
--- a/juick-www/src/main/static/scripts.js
+++ b/juick-www/src/main/static/scripts.js
@@ -108,7 +108,7 @@ function wsIncomingReply(msg) {
msgNum += ` в ответ на <a href="#${msg.replyto}">/${msg.replyto}</a>`;
}
let photoDiv = (msg.photo === undefined) ? '' : `
- <div class="msg-media"><a href="//i.juick.com/p/${msg.mid}.${msg.attach}">
+ <div class="msg-media"><a href="//i.juick.com/p/${msg.mid}-${msg.rid}.${msg.attach}">
<img src="${unsetProto(msg.photo.small)}"/></a>
</div>`;
let msgContHtml = `