diff options
author | Vitaly Takmazov | 2018-06-18 21:48:43 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-13 10:37:52 +0300 |
commit | 8046731d2e2274fc7de7936584b76c5ed19a2a59 (patch) | |
tree | d6a9eaf5a8f7ff88e8b3153bde3744fae82e0e46 /vnext/src/components | |
parent | 4a71bb7c241e64dd722fa873385a2061d031d5e3 (diff) |
fix images in thread
Diffstat (limited to 'vnext/src/components')
-rw-r--r-- | vnext/src/components/Thread.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vnext/src/components/Thread.js b/vnext/src/components/Thread.js index 64759122..ed97f4cf 100644 --- a/vnext/src/components/Thread.js +++ b/vnext/src/components/Thread.js @@ -123,8 +123,8 @@ export default class Thread extends React.Component { <div className="msg-txt"><p dangerouslySetInnerHTML={{ __html: format(msg.body, msg.mid, (msg.tags || []).indexOf('code') >= 0) }}></p></div> { msg.photo && - <p className="ir"><a href={`//i.juick.com/p/${msg.mid}.${msg.attach}`} data-fname={`${msg.mid}.${msg.attach}`}> - <img itemProp="image" src={`//i.juick.com/p/${msg.mid}.${msg.attach}`} alt="" /></a> + <p className="ir"><a href={`//i.juick.com/p/${msg.mid}-${msg.rid}.${msg.attach}`} data-fname={`${msg.mid}-${msg.rid}.${msg.attach}`}> + <img itemProp="image" src={`//i.juick.com/p/${msg.mid}-${msg.rid}.${msg.attach}`} alt="" /></a> </p> } <div className="msg-links">{`/${msg.rid}`} |