From 034fefa7b70745383b1b5fcbeec05fd9f376b202 Mon Sep 17 00:00:00 2001 From: Joas Schilling <coding@schilljs.com> Date: Thu, 6 Feb 2020 20:35:00 +0100 Subject: [PATCH] Removed nested call to beforeunload Signed-off-by: Joas Schilling <coding@schilljs.com> --- apps/files/js/filelist.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 17073b47033..01624975c1a 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -3797,8 +3797,5 @@ $(document).ready(function() { OCA.Files.FileList.lastAction(); } }); - $(window).on('unload', function () { - $(window).trigger('beforeunload'); - }); }); -- GitLab