Refine selector for form submit button

This commit is contained in:
Alfredo Sumaran 2016-08-05 15:26:53 -05:00
parent af8a567a63
commit f9378bad06
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@
const $allowedToPushInput = this.$wrap.find('input[name="protected_branch[push_access_level_attributes][access_level]"]');
if ($branchInput.val() && $allowedToMergeInput.val() && $allowedToPushInput.val()){
this.$form.find('[type="submit"]').removeAttr('disabled');
this.$form.find('input[type="submit"]').removeAttr('disabled');
}
}
}