The triggered flag was being set too early, which was preventing bubbling form working when a
native event existed.
This commit is contained in:
parent
ebd9205fdb
commit
69e86d4f98
1 changed files with 2 additions and 2 deletions
|
@ -229,13 +229,13 @@ jQuery.event = {
|
|||
} catch (e) {}
|
||||
}
|
||||
|
||||
this.triggered = false;
|
||||
|
||||
if ( !event.isPropagationStopped() ) {
|
||||
var parent = elem.parentNode || elem.ownerDocument;
|
||||
if ( parent )
|
||||
jQuery.event.trigger(event, data, parent, true);
|
||||
}
|
||||
|
||||
this.triggered = false;
|
||||
},
|
||||
|
||||
handle: function(event) {
|
||||
|
|
Loading…
Reference in a new issue