migrate jQuery.fn.unload()
This commit is contained in:
parent
59e268763c
commit
37530f27f0
|
@ -2862,7 +2862,7 @@ $(document).ready(function() {
|
||||||
OCA.Files.FileList.lastAction();
|
OCA.Files.FileList.lastAction();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
$(window).unload(function () {
|
$(window).on('unload', function () {
|
||||||
$(window).trigger('beforeunload');
|
$(window).trigger('beforeunload');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue