about summary refs log tree commit diff
path: root/app/javascript/flavours
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-09-10 17:52:40 +0200
committerThibG <thib@sitedethib.com>2018-09-10 19:53:55 +0200
commitdfa6fb49277d385b6de93ea43e428d53eb7721a9 (patch)
tree984f25926307ba7166762cec42b043d417cad7f5 /app/javascript/flavours
parentcc5826521619e64022a965e2d414fd29c834612c (diff)
[Glitch] Fix oEmbed image_modal src.
Port 25b0d7538eb83c5fd02409ca22345c9af752b3ed to glitch-soc
Diffstat (limited to 'app/javascript/flavours')
-rw-r--r--app/javascript/flavours/glitch/features/status/components/card.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/status/components/card.js b/app/javascript/flavours/glitch/features/status/components/card.js
index f7d980066..2f6a7831e 100644
--- a/app/javascript/flavours/glitch/features/status/components/card.js
+++ b/app/javascript/flavours/glitch/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: {