diff --git a/components/input/index.jsx b/components/input/index.jsx index ce007e3462..35cd22f7a8 100644 --- a/components/input/index.jsx +++ b/components/input/index.jsx @@ -3,7 +3,7 @@ import assign from 'object-assign'; import classNames from 'classnames'; function ieGT9() { - if (typeof document === undefined) { + if (typeof document === 'undefined') { return false; } const documentMode = document.documentMode || 0;