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) {}
|
} catch (e) {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.triggered = false;
|
||||||
|
|
||||||
if ( !event.isPropagationStopped() ) {
|
if ( !event.isPropagationStopped() ) {
|
||||||
var parent = elem.parentNode || elem.ownerDocument;
|
var parent = elem.parentNode || elem.ownerDocument;
|
||||||
if ( parent )
|
if ( parent )
|
||||||
jQuery.event.trigger(event, data, parent, true);
|
jQuery.event.trigger(event, data, parent, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.triggered = false;
|
|
||||||
},
|
},
|
||||||
|
|
||||||
handle: function(event) {
|
handle: function(event) {
|
||||||
|
|
Loading…
Reference in a new issue