mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-23 19:40:56 +08:00
fix(events): include ie8 in extra event property reset
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user