Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit a18926f

Browse files
committed
fix(events): include ie8 in extra event property reset
1 parent b806b30 commit a18926f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/jqLite.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -514,8 +514,8 @@ function createEventHandler(element) {
514514

515515
// Remove monkey-patched methods (IE),
516516
// as they would cause memory leaks in IE8.
517-
if (msie < 8) {
518-
// IE7 does not allow to delete property on native object
517+
if (msie <= 8) {
518+
// IE7/8 does not allow to delete property on native object
519519
event.preventDefault = null;
520520
event.stopPropagation = null;
521521
event.isDefaultPrevented = null;

0 commit comments

Comments
 (0)