From bad547c3bb9d13ffeb1e18501217b42b5eed3017 Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 19 Apr 2016 16:58:39 +0800 Subject: [PATCH] Fix #1321 in 0.12.x pick 28b36d5 manully --- components/input/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;