Skip to content

Commit

Permalink
Optimized jQuery selector
Browse files Browse the repository at this point in the history
  • Loading branch information
Compizfox committed Sep 30, 2014
1 parent 9ccd15b commit ad1e902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backlog/js/statuses.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function removeRow(caller) {
}

function checkboxes() {
$( "#dyn input:checked" ).each(function( index ) {
$( "#dyn").find("input:checked" ).each(function() {
this.previousElementSibling.value = 1;
});
}

0 comments on commit ad1e902

Please sign in to comment.