0
0
Fork 0
mirror of https://github.com/healthchecks/healthchecks.git synced 2025-04-11 15:51:19 +00:00

Fix JS regression in cron preview

This commit is contained in:
Pēteris Caune 2021-10-14 15:22:47 +03:00
parent c5b170c086
commit cee023063b
No known key found for this signature in database
GPG key ID: E28D7679E9A9EDE2

View file

@ -152,7 +152,7 @@ $(function () {
}
$("#cron-preview" ).html(data);
var haveError = $("#invalid-arguments").size() > 0;
var haveError = $("#invalid-arguments").length > 0;
$("#update-cron-submit").prop("disabled", haveError);
}
});