Commit 23220321 authored by John Resig's avatar John Resig

You had to have an event bound in order to trigger an event - which is not necessarily the case.

parent 31d65e90
...@@ -91,7 +91,8 @@ jQuery.event = { ...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment