diff options
author | ThibG <thib@sitedethib.com> | 2018-09-13 20:31:59 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-09-13 20:31:59 +0200 |
commit | 4959ead07c56be120fd00b10c5da4f9db0bb1ea1 (patch) | |
tree | 45238a9a1d29cc7e81641ac430dd8554a3ceea7b /app/javascript/mastodon/features/video/index.js | |
parent | f8160b68b38306c4adb4e8a0b7e30b185a69c3d4 (diff) |
Fix media description in various media modals (#8678)
Diffstat (limited to 'app/javascript/mastodon/features/video/index.js')
-rw-r--r-- | app/javascript/mastodon/features/video/index.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/video/index.js b/app/javascript/mastodon/features/video/index.js index 52b395f88..889f892fa 100644 --- a/app/javascript/mastodon/features/video/index.js +++ b/app/javascript/mastodon/features/video/index.js @@ -252,11 +252,12 @@ export default class Video extends React.PureComponent { } handleOpenVideo = () => { - const { src, preview, width, height } = this.props; + const { src, preview, width, height, alt } = this.props; const media = fromJS({ type: 'video', url: src, preview_url: preview, + description: alt, width, height, }); |