diff --git a/src/event.js b/src/event.js index 5a57fe9f6..6c3dc1b80 100644 --- a/src/event.js +++ b/src/event.js @@ -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; }