summaryrefslogtreecommitdiffstats
path: root/webapp/components/post_view/components/reaction.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/post_view/components/reaction.jsx')
-rw-r--r--webapp/components/post_view/components/reaction.jsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/webapp/components/post_view/components/reaction.jsx b/webapp/components/post_view/components/reaction.jsx
index 0056953b0..79a8b70df 100644
--- a/webapp/components/post_view/components/reaction.jsx
+++ b/webapp/components/post_view/components/reaction.jsx
@@ -188,9 +188,9 @@ export default class Reaction extends React.Component {
className={className}
onClick={handleClick}
>
- <img
- className='post-reaction__emoji'
- src={EmojiStore.getEmojiImageUrl(EmojiStore.get(this.props.emojiName))}
+ <span
+ className='post-reaction__emoji emoticon'
+ style={{backgroundImage: 'url(' + EmojiStore.getEmojiImageUrl(EmojiStore.get(this.props.emojiName)) + ')'}}
/>
<span className='post-reaction__count'>
{this.props.reactions.length}