mirror of
https://github.com/jquery/jquery.git
synced 2026-01-24 21:48:00 -05:00
Fix 9cf812d7 oldIE failures
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user