about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/status/components
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-07-24 13:16:03 +0200
committerClaire <claire.github-309c@sitedethib.com>2022-07-24 13:16:03 +0200
commita5f81e1abd82cb66e590b73af83c720d6410fafd (patch)
tree99ea23e2f3a24361b7438dd14db7a06fc10040ed /app/javascript/flavours/glitch/features/status/components
parentdb5b44330d3139132645fda99682caa15aae2768 (diff)
Improve interaction between out-of-CW attachments and collapsed toots
Diffstat (limited to 'app/javascript/flavours/glitch/features/status/components')
-rw-r--r--app/javascript/flavours/glitch/features/status/components/detailed_status.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/javascript/flavours/glitch/features/status/components/detailed_status.js b/app/javascript/flavours/glitch/features/status/components/detailed_status.js
index bfbfabcb6..301a2add6 100644
--- a/app/javascript/flavours/glitch/features/status/components/detailed_status.js
+++ b/app/javascript/flavours/glitch/features/status/components/detailed_status.js
@@ -296,6 +296,7 @@ class DetailedStatus extends ImmutablePureComponent {
           <StatusContent
             status={status}
             media={contentMedia}
+            extraMedia={extraMedia}
             mediaIcons={contentMediaIcons}
             expanded={expanded}
             collapsed={false}
@@ -307,8 +308,6 @@ class DetailedStatus extends ImmutablePureComponent {
             disabled
           />
 
-          {extraMedia}
-
           <div className='detailed-status__meta'>
             <a className='detailed-status__datetime' href={status.get('url')} target='_blank' rel='noopener noreferrer'>
               <FormattedDate value={new Date(status.get('created_at'))} hour12={false} year='numeric' month='short' day='2-digit' hour='2-digit' minute='2-digit' />