[Glitch] Fix UI crash in moderation interface when opening the media modal
Port 5241f7b2fd to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
committed by
Claire
parent
d728222121
commit
4a1f4cb6a2
@@ -476,7 +476,7 @@ class Video extends React.PureComponent {
|
||||
handleOpenVideo = () => {
|
||||
this.video.pause();
|
||||
|
||||
this.props.onOpenVideo({
|
||||
this.props.onOpenVideo(this.props.lang, {
|
||||
startTime: this.video.currentTime,
|
||||
autoPlay: !this.state.paused,
|
||||
defaultVolume: this.state.volume,
|
||||
|
||||
Reference in New Issue
Block a user