do not overwrite type of event
this is needed for safari 6
This commit is contained in:
parent
3d9d17e914
commit
354e8b3eff
1 changed files with 2 additions and 1 deletions
|
|
@ -54,6 +54,7 @@ EventEmitter._dispatchEvent = function(eventName, e) {
|
||||||
return;
|
return;
|
||||||
|
|
||||||
e = e || {};
|
e = e || {};
|
||||||
|
if (!e.type)
|
||||||
e.type = eventName;
|
e.type = eventName;
|
||||||
|
|
||||||
if (!e.stopPropagation) {
|
if (!e.stopPropagation) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue