or at least
```
var disabled = gitPanel.$panel.find(".check-one:checked").length === 0;
$(".git-commit").prop("disabled", disabled);
```