mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-11 00:14:50 +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),
|
||||
|
||||
exitFullscreen = () => getFullscreenElement() && (doc.exitFullscreen || doc.webkitExitFullscreen)(),
|
||||
exitFullscreen = () => getFullscreenElement() && (doc.exitFullscreen || doc.webkitExitFullscreen).call(doc),
|
||||
getFullscreenElement = () => doc.fullscreenElement || doc.webkitFullscreenElement,
|
||||
|
||||
Settings = rl.settings,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue