Browse Source

无JIRA任务,BI.isSafari()方法判断的不对

master
Dailer 6 years ago
parent
commit
ad6a69e409
  1. 2
      src/core/platform/web/function.js

2
src/core/platform/web/function.js

@ -72,7 +72,7 @@ _.extend(BI, {
if(!_global.navigator) { if(!_global.navigator) {
return false; return false;
} }
return /safari/i.test(navigator.userAgent.toLowerCase()); return /opera/i.test(navigator.userAgent.toLowerCase()) && !/chrome/i.test(navigator.userAgent.toLowerCase());
}, },
isKhtml: function () { isKhtml: function () {

Loading…
Cancel
Save