]> source.dussan.org Git - nextcloud-server.git/commitdiff
Removed nested call to beforeunload 19331/head
authorJoas Schilling <coding@schilljs.com>
Thu, 6 Feb 2020 19:35:00 +0000 (20:35 +0100)
committerJoas Schilling <coding@schilljs.com>
Thu, 6 Feb 2020 19:35:00 +0000 (20:35 +0100)
Signed-off-by: Joas Schilling <coding@schilljs.com>
apps/files/js/filelist.js

index 17073b47033cdd7bd0ac7b2b5c51ffe06900db6d..01624975c1ab185376d52b4b4c3bd0285d97cfd0 100644 (file)
@@ -3797,8 +3797,5 @@ $(document).ready(function() {
                        OCA.Files.FileList.lastAction();
                }
        });
-       $(window).on('unload', function () {
-               $(window).trigger('beforeunload');
-       });
 
 });