mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Bugfix: wrote a buggy fix for safari
This commit is contained in:
parent
4986de6b93
commit
0474f29272
1 changed files with 1 additions and 1 deletions
2
dev/External/ifvisible.js
vendored
2
dev/External/ifvisible.js
vendored
|
|
@ -17,7 +17,7 @@
|
||||||
init = () => {
|
init = () => {
|
||||||
init = ()=>{};
|
init = ()=>{};
|
||||||
// Safari
|
// Safari
|
||||||
addEventListener('pagehide', status = "hidden");
|
addEventListener('pagehide', () => status = "hidden");
|
||||||
// Else
|
// Else
|
||||||
doc.addEventListener("visibilitychange", () => {
|
doc.addEventListener("visibilitychange", () => {
|
||||||
status = doc.visibilityState;
|
status = doc.visibilityState;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue