fix(events): include ie8 in extra event property reset

This commit is contained in:
Misko Hevery 2012-04-20 14:47:50 -07:00
parent b806b30861
commit a18926f986

View file

@ -514,8 +514,8 @@ function createEventHandler(element) {
// Remove monkey-patched methods (IE),
// as they would cause memory leaks in IE8.
if (msie < 8) {
// IE7 does not allow to delete property on native object
if (msie <= 8) {
// IE7/8 does not allow to delete property on native object
event.preventDefault = null;
event.stopPropagation = null;
event.isDefaultPrevented = null;