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:
parent
c5b170c086
commit
cee023063b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue