Skip to content

Commit 7341205

Browse files
authored
Merge pull request #251 from Timmmm/master
Use prop() instead of attr()
2 parents 69eb654 + afeebb4 commit 7341205

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

codespeed/static/js/codespeed.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ $(function() {
2828
$('.checkall').each(function() {
2929
var inputs = $(this).parent().children("li").children("input");
3030
$(this).click(function() {
31-
inputs.attr("checked", true);
31+
inputs.prop("checked", true);
3232
return false;
3333
});
3434
});
3535

3636
$('.uncheckall').each(function() {
3737
var inputs = $(this).parent().children("li").children("input");
3838
$(this).click(function() {
39-
inputs.attr("checked", false);
39+
inputs.prop("checked", false);
4040
return false;
4141
});
4242
});

0 commit comments

Comments
 (0)