@ -2,6 +2,7 @@
|
||||
// the WebKit-prefixed APIs currently (as of Edge 16).
|
||||
|
||||
const isFullscreen = (): boolean => Boolean(
|
||||
// eslint-disable-next-line compat/compat
|
||||
document.fullscreenElement ||
|
||||
// @ts-ignore
|
||||
document.webkitFullscreenElement,
|
||||
|
||||
Reference in New Issue
Block a user