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

View file

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