From: Richard Gibson Date: Sun, 13 Jan 2013 00:09:49 +0000 (-0500) Subject: Fix 9cf812d7 oldIE failures X-Git-Tag: 1.9.0~13 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e5f37953bab7ad53fed7d589ff976f7b72aebc2e;p=jquery.git Fix 9cf812d7 oldIE failures --- 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; }