Fix 9cf812d7 oldIE failures

This commit is contained in:
Richard Gibson 2013-01-12 19:09:49 -05:00
parent 9cf812d7a2
commit e5f37953ba

View File

@ -528,7 +528,7 @@ jQuery.event = {
click: { click: {
// For checkbox, fire native event so checked state will be right // For checkbox, fire native event so checked state will be right
trigger: function() { trigger: function() {
if ( this.type === "checkbox" && this.click && jQuery.nodeName( this, "input" ) ) { if ( jQuery.nodeName( this, "input" ) && this.type === "checkbox" && this.click ) {
this.click(); this.click();
return false; return false;
} }