diff options
author | Richard Gibson <richard.gibson@gmail.com> | 2013-01-12 19:09:49 -0500 |
---|---|---|
committer | Richard Gibson <richard.gibson@gmail.com> | 2013-01-12 20:59:04 -0500 |
commit | e5f37953bab7ad53fed7d589ff976f7b72aebc2e (patch) | |
tree | adc4bba4c2156a9298fd5910fda71e282cc04806 | |
parent | 9cf812d7a28a08608eab30440102b00ebd3c2291 (diff) | |
download | jquery-e5f37953bab7ad53fed7d589ff976f7b72aebc2e.tar.gz jquery-e5f37953bab7ad53fed7d589ff976f7b72aebc2e.zip |
Fix 9cf812d7 oldIE failures
-rw-r--r-- | src/event.js | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |