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

Commit

Permalink
fix(events): include ie8 in extra event property reset
Browse files Browse the repository at this point in the history
  • Loading branch information
mhevery committed Apr 21, 2012
1 parent b806b30 commit a18926f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jqLite.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a18926f

Please sign in to comment.