mirror of
https://github.com/wassname/chatGPTBox.git
synced 2026-07-25 13:10:34 +08:00
feat: improve mobile support
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
// https://stackoverflow.com/questions/11381673/detecting-a-mobile-browser
|
||||
|
||||
export async function isMobile() {
|
||||
if (navigator.userAgentData) return navigator.userAgentData.mobile
|
||||
let check = false
|
||||
;(function (a) {
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user