From a18926f986166048a21097636f03ab29f107b154 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Fri, 20 Apr 2012 14:47:50 -0700 Subject: [PATCH] fix(events): include ie8 in extra event property reset --- src/jqLite.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jqLite.js b/src/jqLite.js index 390013b223d6..39c715f6f3ac 100644 --- a/src/jqLite.js +++ b/src/jqLite.js @@ -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;