Fix generic event handler and $events expando removal for IE
This commit is contained in:
parent
fe1910d4d9
commit
2b9b3e90c1
|
@ -82,7 +82,7 @@ jQuery.event = {
|
||||||
for ( ret in events[type] ) break;
|
for ( ret in events[type] ) break;
|
||||||
if ( !ret ) {
|
if ( !ret ) {
|
||||||
ret = element["on" + type] = null;
|
ret = element["on" + type] = null;
|
||||||
delete element.$events[type];
|
delete events[type];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue