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,7 +54,8 @@ EventEmitter._dispatchEvent = function(eventName, e) {
|
|||
return;
|
||||
|
||||
e = e || {};
|
||||
e.type = eventName;
|
||||
if (!e.type)
|
||||
e.type = eventName;
|
||||
|
||||
if (!e.stopPropagation) {
|
||||
e.stopPropagation = function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue