mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Bugfix: 'exitFullscreen' called on an object that does not implement interface Document
This commit is contained in:
parent
789dc264f7
commit
9f444ceb53
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ export const
|
||||||
|
|
||||||
elementById = id => doc.getElementById(id),
|
elementById = id => doc.getElementById(id),
|
||||||
|
|
||||||
exitFullscreen = () => getFullscreenElement() && (doc.exitFullscreen || doc.webkitExitFullscreen)(),
|
exitFullscreen = () => getFullscreenElement() && (doc.exitFullscreen || doc.webkitExitFullscreen).call(doc),
|
||||||
getFullscreenElement = () => doc.fullscreenElement || doc.webkitFullscreenElement,
|
getFullscreenElement = () => doc.fullscreenElement || doc.webkitFullscreenElement,
|
||||||
|
|
||||||
Settings = rl.settings,
|
Settings = rl.settings,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue