fix Input document undefined error, close #1321

This commit is contained in:
afc163
2016-04-01 18:42:45 +08:00
parent 08309605c5
commit 28b36d571c
+1 -1
View File
@@ -2,7 +2,7 @@ import React from 'react';
import classNames from 'classnames';
function ieGT9() {
if (typeof document === undefined) {
if (typeof document === 'undefined') {
return false;
}
const documentMode = document.documentMode || 0;