lint fixes
This commit is contained in:
parent
c02f0b3b33
commit
6015254e59
71 changed files with 160 additions and 160 deletions
|
|
@ -35,8 +35,8 @@ export const requestFullscreen = ({ videoEl, playerEl, options }: RequestFullscr
|
|||
|
||||
export const exitFullscreen = ({ videoEl }: ExitFullscreenProps) => {
|
||||
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
||||
if (document.exitFullscreen != null) {
|
||||
document.exitFullscreen();
|
||||
if (window.document.exitFullscreen != null) {
|
||||
window.document.exitFullscreen();
|
||||
return;
|
||||
}
|
||||
if (videoEl.webkitExitFullscreen != null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue