Browse Source

fix IE version logic

pull/435/head
KgTong 9 years ago
parent
commit
7ad9db3eb3
  1. 3
      components/spin/index.jsx

3
components/spin/index.jsx

@ -17,7 +17,8 @@ const AntSpin = React.createClass({
getIEVersion() {
let ua = navigator.userAgent.toLowerCase();
return ua.match(/msie ([\d.]+)/)[1];
let s = ua.match(/msie ([\d.]+)/);
return s ? s[1] : false;
},
isNestedPattern() {

Loading…
Cancel
Save