diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-08-17 09:39:21 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-08-17 09:39:21 +0200 |
commit | 51c3a3ddaf7efd4dda602c693d5670498978d4fa (patch) | |
tree | 8d17c2bd066200f968befd78228327dc01f43d73 /apps/files/js/files.js | |
parent | 5b7143885d195d59cd6c3982314f9b92fa60d8aa (diff) | |
download | nextcloud-server-51c3a3ddaf7efd4dda602c693d5670498978d4fa.tar.gz nextcloud-server-51c3a3ddaf7efd4dda602c693d5670498978d4fa.zip |
update jquery-visibility in files app
* ref #12877
Diffstat (limited to 'apps/files/js/files.js')
-rw-r--r-- | apps/files/js/files.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js index 55fdb96ebda..90c8ee67757 100644 --- a/apps/files/js/files.js +++ b/apps/files/js/files.js @@ -246,12 +246,12 @@ // Use jquery-visibility to de-/re-activate file stats sync if ($.support.pageVisibility) { $(document).on({ - 'show.visibility': function() { + 'show': function() { if (!updateStorageStatisticsIntervalId) { updateStorageStatisticsIntervalId = setInterval(func, updateStorageStatisticsInterval); } }, - 'hide.visibility': function() { + 'hide': function() { clearInterval(updateStorageStatisticsIntervalId); updateStorageStatisticsIntervalId = 0; } |