aboutsummaryrefslogtreecommitdiffstats
path: root/src/jqLite.js
diff options
context:
space:
mode:
authorMisko Hevery2012-04-20 14:47:50 -0700
committerMisko Hevery2012-04-20 17:04:21 -0700
commita18926f986166048a21097636f03ab29f107b154 (patch)
tree70d03ec8502a4a864abef6d35a39ffb58e7e6098 /src/jqLite.js
parentb806b308614668c2590996a72b26b3529e909ebd (diff)
downloadangular.js-a18926f986166048a21097636f03ab29f107b154.tar.bz2
fix(events): include ie8 in extra event property reset
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;