diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-10-09 12:00:48 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-10-09 12:00:48 +0200 |
commit | 912729c427d29156a2b301369f544c90fcc7f2b0 (patch) | |
tree | d8690f0ab7a1df996075aa68b051c537a9045d3c | |
parent | ea411ccec4095e155755b4edf76fd1490e509e5d (diff) | |
download | nextcloud-server-912729c427d29156a2b301369f544c90fcc7f2b0.tar.gz nextcloud-server-912729c427d29156a2b301369f544c90fcc7f2b0.zip |
Fix depracted jQuery.bind call
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
-rw-r--r-- | apps/files/js/filelist.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index ab3607e3db9..94052b10b33 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -3432,7 +3432,7 @@ $(document).ready(function() { // FIXME: unused ? OCA.Files.FileList.useUndo = (window.onbeforeunload)?true:false; - $(window).bind('beforeunload', function () { + $(window).on('beforeunload', function () { if (OCA.Files.FileList.lastAction) { OCA.Files.FileList.lastAction(); } |