Add explicit boolean

pull/1/head
Daniel Gasienica 7 years ago
parent f56dc09d01
commit 407c77395b

@ -178,7 +178,7 @@ export class Lightbox extends React.Component<Props, {}> {
const isVideo = GoogleChrome.isVideoTypeSupported(contentType); const isVideo = GoogleChrome.isVideoTypeSupported(contentType);
if (isVideo) { if (isVideo) {
return ( return (
<video controls> <video controls={true}>
<source src={objectURL} /> <source src={objectURL} />
</video> </video>
); );

Loading…
Cancel
Save