diff --git a/ts/components/Lightbox.tsx b/ts/components/Lightbox.tsx index d42cd8d9444..3a695e753f9 100644 --- a/ts/components/Lightbox.tsx +++ b/ts/components/Lightbox.tsx @@ -71,6 +71,7 @@ const styles = { maxWidth: '100%', maxHeight: '100%', objectFit: 'contain', + outline: 'none', } as React.CSSProperties, caption: { position: 'absolute', @@ -171,13 +172,10 @@ const Icon = ({ export class Lightbox extends React.Component { private readonly containerRef: React.RefObject; private readonly videoRef: React.RefObject; - private readonly playVideoBound: () => void; constructor(props: Props) { super(props); - this.playVideoBound = this.playVideo.bind(this); - this.videoRef = React.createRef(); this.containerRef = React.createRef(); } @@ -292,7 +290,6 @@ export class Lightbox extends React.Component {