Skip to content

Commit

Permalink
Use boolean assertion for documentMode check
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Dail committed Jul 19, 2017
1 parent 6d40e0c commit 2c70e8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderers/dom/client/eventPlugins/ChangeEventPlugin.js
Expand Up @@ -156,7 +156,7 @@ if (ExecutionEnvironment.canUseDOM) {

isInputEventSupported =
isEventSupported('input') &&
(!('documentMode' in document) || document.documentMode > 9);
(!document.documentMode || document.documentMode > 9);
}

/**
Expand Down

0 comments on commit 2c70e8e

Please sign in to comment.