summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-02-06 20:35:00 +0100
committerJoas Schilling <coding@schilljs.com>2020-02-06 20:35:00 +0100
commit034fefa7b70745383b1b5fcbeec05fd9f376b202 (patch)
treeae714f7118a5cb94a18ff978913d3fe77124ee37
parentd2d7e37b7bf00ea7929da02459e4abb8640d064a (diff)
downloadnextcloud-server-034fefa7b70745383b1b5fcbeec05fd9f376b202.tar.gz
nextcloud-server-034fefa7b70745383b1b5fcbeec05fd9f376b202.zip
Removed nested call to beforeunload
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--apps/files/js/filelist.js3
1 files changed, 0 insertions, 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');
- });
});