save
This commit is contained in:
@@ -124,7 +124,7 @@ export function shakeCommonDict(n: BaseState): BaseState {
|
||||
}
|
||||
|
||||
export function isMobile(): boolean {
|
||||
return /Mobi|Android|iPhone/i.test(navigator.userAgent)
|
||||
return /Mobi|Android|iPhone|Safari/i.test(navigator.userAgent)
|
||||
//@ts-ignore
|
||||
return ('ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user