Skip to content

Commit

Permalink
Fix 9cf812d oldIE failures
Browse files Browse the repository at this point in the history
  • Loading branch information
gibson042 committed Jan 13, 2013
1 parent 9cf812d commit e5f3795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/event.js
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ jQuery.event = {
click: {
// For checkbox, fire native event so checked state will be right
trigger: function() {
if ( this.type === "checkbox" && this.click && jQuery.nodeName( this, "input" ) ) {
if ( jQuery.nodeName( this, "input" ) && this.type === "checkbox" && this.click ) {
this.click();
return false;
}
Expand Down

0 comments on commit e5f3795

Please sign in to comment.