From ad6a69e40931c00fe5fff53553c2ca406390aeb0 Mon Sep 17 00:00:00 2001 From: Dailer Date: Fri, 12 Oct 2018 15:13:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1,BI.isSafari()?= =?UTF-8?q?=E6=96=B9=E6=B3=95=E5=88=A4=E6=96=AD=E7=9A=84=E4=B8=8D=E5=AF=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/platform/web/function.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/platform/web/function.js b/src/core/platform/web/function.js index d0288654a1..b18dd37273 100644 --- a/src/core/platform/web/function.js +++ b/src/core/platform/web/function.js @@ -72,7 +72,7 @@ _.extend(BI, { if(!_global.navigator) { return false; } - return /safari/i.test(navigator.userAgent.toLowerCase()); + return /opera/i.test(navigator.userAgent.toLowerCase()) && !/chrome/i.test(navigator.userAgent.toLowerCase()); }, isKhtml: function () {