1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-08 18:30:53 +00:00

fix: browser spell (#6533)

Co-authored-by: 杨国璇 <ygx@Hello-word.local>
This commit is contained in:
杨国璇
2024-08-12 14:25:37 +08:00
committed by GitHub
parent 177e97bb73
commit f7a7636867
9 changed files with 31 additions and 31 deletions

View File

@@ -347,7 +347,7 @@ export const Utils = {
navigator.userAgent.indexOf('Safari') > -1;
},
isIEBrower: function () { // is ie <= ie11 not include Edge
isIEBrowser: function () { // is ie <= ie11 not include Edge
var userAgent = navigator.userAgent;
var isIE = userAgent.indexOf('compatible') > -1 && userAgent.indexOf('MSIE') > -1;
var isIE11 = userAgent.indexOf('Trident') > -1 && userAgent.indexOf('rv:11.0') > -1;