aboutsummaryrefslogtreecommitdiff
path: root/juick-www
diff options
context:
space:
mode:
authorGravatar KillyMXI2017-06-23 13:26:03 +0300
committerGravatar KillyMXI2017-06-23 13:26:03 +0300
commit7a4a307ba15bc3c8faa1fc5546a2f8eaab81560d (patch)
treed67d7a40abc1a54ef9e8ad3e2e57cc686999307f /juick-www
parent2b6d46ff24f3e1e851fff7ffb4901a2366d17ec9 (diff)
juick-www: fixed "wrong image linked in incoming post"
Diffstat (limited to 'juick-www')
-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 = `