mirror of
https://github.com/farmOS/farmOS.git
synced 2024-02-23 11:37:38 +01:00
Use $.when.apply instead of spread operator.
This commit is contained in:
parent
3ad1651d71
commit
ddbaf1f7a5
|
@ -208,7 +208,7 @@
|
|||
}
|
||||
|
||||
// Refresh the page once all requests are completed.
|
||||
$.when(...requests).done(function () {
|
||||
$.when.apply($, requests).done(function () {
|
||||
location.reload();
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue