From 5711899c59147252a01e21371994ca6a60418628 Mon Sep 17 00:00:00 2001 From: fuyu <54523771+mfmfuyu@users.noreply.github.com> Date: Mon, 3 Feb 2020 20:26:00 +0900 Subject: Don't display toggle reveal button in video modal when full screen (#13026) --- app/javascript/mastodon/features/video/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/mastodon/features/video/index.js b/app/javascript/mastodon/features/video/index.js index 0e2a99416..8ac9c8db7 100644 --- a/app/javascript/mastodon/features/video/index.js +++ b/app/javascript/mastodon/features/video/index.js @@ -517,7 +517,7 @@ class Video extends React.PureComponent {
- {(!onCloseVideo && !editable) && } + {(!onCloseVideo && !editable && !fullscreen) && } {(!fullscreen && onOpenVideo) && } {onCloseVideo && } -- cgit