Skip to content

Commit

Permalink
Merge pull request #13 from GabeHiemstra/patch-1
Browse files Browse the repository at this point in the history
Replaced jquery "attr" with "prop"
  • Loading branch information
irfan authored Jul 18, 2016
2 parents 7cdb5a8 + 88dae5c commit d3d9400
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rating.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@
});

matchInput
.attr('checked', true)
.siblings('input').attr('checked', false);
.prop('checked', true)
.siblings('input').prop('checked', false);

container
.trigger('set.rating', matchInput.val())
Expand Down

0 comments on commit d3d9400

Please sign in to comment.