We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15c057b commit a0e946eCopy full SHA for a0e946e
src/index.js
@@ -129,7 +129,7 @@ define(function () {
129
},
130
// 判断是否为iphone手机的safari浏览器
131
isSafariBrowser: function () {
132
- const uaLower = ua.toLowerCase();
+ var uaLower = ua.toLowerCase();
133
return (uaLower.indexOf('applewebkit') > -1 && uaLower.indexOf('mobile') > -1 && uaLower.indexOf('safari') > -1 &&
134
uaLower.indexOf('linux') === -1 && uaLower.indexOf('android') === -1 && uaLower.indexOf('chrome') === -1 &&
135
uaLower.indexOf('ios') === -1 && uaLower.indexOf('browser') === -1);
0 commit comments