about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorNaoki Kosaka <n.k@mail.yukimochi.net>2017-12-15 07:31:14 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-12-14 23:31:14 +0100
commit25b0d7538eb83c5fd02409ca22345c9af752b3ed (patch)
tree3bc2d1ec28c3b08d3a4ab3d44fb61ee909861bc2 /app/javascript
parenta3b2ea599df58b1d9944acba8b59f9a465f5adbd (diff)
Fix oEmbed image_modal src. (#6027)
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/mastodon/features/status/components/card.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/status/components/card.js b/app/javascript/mastodon/features/status/components/card.js
index f7d980066..2f6a7831e 100644
--- a/app/javascript/mastodon/features/status/components/card.js
+++ b/app/javascript/mastodon/features/status/components/card.js
@@ -43,7 +43,7 @@ export default class Card extends React.PureComponent {
       Immutable.fromJS([
         {
           type: 'image',
-          url: card.get('url'),
+          url: card.get('embed_url'),
           description: card.get('title'),
           meta: {
             original: {