aboutsummaryrefslogtreecommitdiffstats
path: root/src/jqLite.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/jqLite.js')
-rw-r--r--src/jqLite.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jqLite.js b/src/jqLite.js
index 390013b2..39c715f6 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;