You had to have an event bound in order to trigger an event - which is not necessarily the case.
This commit is contained in:
parent
31d65e9052
commit
23220321d1
1 changed files with 2 additions and 1 deletions
|
@ -91,7 +91,8 @@ jQuery.event = {
|
||||||
this.triggered = true;
|
this.triggered = true;
|
||||||
element[ type ]();
|
element[ type ]();
|
||||||
}
|
}
|
||||||
}
|
} else if ( jQuery.isFunction( element[ type ] ) )
|
||||||
|
element[ type ]();
|
||||||
},
|
},
|
||||||
|
|
||||||
handle: function(event) {
|
handle: function(event) {
|
||||||
|
|
Loading…
Reference in a new issue