From e5f37953bab7ad53fed7d589ff976f7b72aebc2e Mon Sep 17 00:00:00 2001 From: Richard Gibson Date: Sat, 12 Jan 2013 19:09:49 -0500 Subject: [PATCH] Fix 9cf812d7 oldIE failures --- src/event.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5