3
0
Fork 0
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:
paul121 2021-10-15 08:52:34 -07:00 committed by Michael Stenta
parent 3ad1651d71
commit ddbaf1f7a5

View file

@ -208,7 +208,7 @@
}
// Refresh the page once all requests are completed.
$.when(...requests).done(function () {
$.when.apply($, requests).done(function () {
location.reload();
})
})