diff options
author | ThibG <thib@sitedethib.com> | 2020-02-06 22:48:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-06 22:48:26 +0100 |
commit | 96ec90b986c8a2783135f123c10062725d274733 (patch) | |
tree | 1cbb8b756a2e4d0770c19b834ede0326f99a3dcc /app/javascript/flavours/glitch/features/video | |
parent | ccaefd139d33f2f0bf4d097131bcf91960bee956 (diff) | |
parent | fe9a124f5a9f3a7cb6cfba141245cccb88c7dfbe (diff) |
Merge pull request #1278 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/javascript/flavours/glitch/features/video')
-rw-r--r-- | app/javascript/flavours/glitch/features/video/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/video/index.js b/app/javascript/flavours/glitch/features/video/index.js index 049baaee7..1b5fbce9f 100644 --- a/app/javascript/flavours/glitch/features/video/index.js +++ b/app/javascript/flavours/glitch/features/video/index.js @@ -512,7 +512,7 @@ class Video extends React.PureComponent { </div> <div className='video-player__buttons right'> - {(!onCloseVideo && !editable) && <button type='button' aria-label={intl.formatMessage(messages.hide)} onClick={this.toggleReveal}><Icon id='eye-slash' fixedWidth /></button>} + {(!onCloseVideo && !editable && !fullscreen) && <button type='button' aria-label={intl.formatMessage(messages.hide)} onClick={this.toggleReveal}><Icon id='eye-slash' fixedWidth /></button>} {(!fullscreen && onOpenVideo) && <button type='button' aria-label={intl.formatMessage(messages.expand)} onClick={this.handleOpenVideo}><Icon id='expand' fixedWidth /></button>} {onCloseVideo && <button type='button' aria-label={intl.formatMessage(messages.close)} onClick={this.handleCloseVideo}><Icon id='compress' fixedWidth /></button>} <button type='button' aria-label={intl.formatMessage(messages.download)}> |