Merge pull request #19331 from nextcloud/bugfix/18890/remove-nested-call-to-beforeunload

Removed nested call to beforeunload
This commit is contained in:
Roeland Jago Douma 2020-02-07 09:23:44 +01:00 committed by GitHub
commit fceb7ae47c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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