Removed nested call to beforeunload

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2020-02-06 20:35:00 +01:00
parent d2d7e37b7b
commit 034fefa7b7
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
1 changed files with 0 additions and 3 deletions

View File

@ -3797,8 +3797,5 @@ $(document).ready(function() {
OCA.Files.FileList.lastAction();
}
});
$(window).on('unload', function () {
$(window).trigger('beforeunload');
});
});