Dont bind all checkboxes when you need only protected branches
This commit is contained in:
parent
6fafe000f8
commit
429a43ca6a
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
$ ->
|
||||
$(":checkbox").change ->
|
||||
$(".protected-branches-list :checkbox").change ->
|
||||
name = $(this).attr("name")
|
||||
if name == "developers_can_push"
|
||||
id = $(this).val()
|
||||
|
|
Loading…
Reference in a new issue