Skip to content

Commit

Permalink
Use boolean assertion for documentMode check (#10032)
Browse files Browse the repository at this point in the history
  • Loading branch information
aweary authored Aug 1, 2017
1 parent b1d52b6 commit a7f0119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderers/dom/client/eventPlugins/ChangeEventPlugin.js
Original file line number Diff line number Diff line change
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 a7f0119

Please sign in to comment.