File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/renderers/dom/client/eventPlugins Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ var doesChangeEventBubble = false;
68
68
if ( ExecutionEnvironment . canUseDOM ) {
69
69
// See `handleChange` comment below
70
70
doesChangeEventBubble = isEventSupported ( 'change' ) && (
71
- ! ( 'documentMode' in document ) || document . documentMode > 8
71
+ ! document . documentMode || document . documentMode > 8
72
72
) ;
73
73
}
74
74
@@ -149,7 +149,7 @@ if (ExecutionEnvironment.canUseDOM) {
149
149
// IE10+ fire input events to often, such when a placeholder
150
150
// changes or when an input with a placeholder is focused.
151
151
isInputEventSupported = isEventSupported ( 'input' ) && (
152
- ! ( 'documentMode' in document ) || document . documentMode > 11
152
+ ! document . documentMode || document . documentMode > 11
153
153
) ;
154
154
}
155
155
You can’t perform that action at this time.
0 commit comments