mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-04-20 23:00:59 +00:00
fix(events): include ie8 in extra event property reset
This commit is contained in:
parent
b806b30861
commit
a18926f986
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue