mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 04:29:21 +03:00
Bugfix: exitFullscreen() errors
This commit is contained in:
parent
671a7a7002
commit
47bbd3d410
3 changed files with 9 additions and 12 deletions
|
|
@ -11,6 +11,9 @@ export const
|
|||
|
||||
elementById = id => doc.getElementById(id),
|
||||
|
||||
exitFullscreen = () => getFullscreenElement() && (doc.exitFullscreen || doc.webkitExitFullscreen)(),
|
||||
getFullscreenElement = () => doc.fullscreenElement || doc.webkitFullscreenElement,
|
||||
|
||||
Settings = rl.settings,
|
||||
SettingsGet = Settings.get,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue