fix mobile bug

This commit is contained in:
Gabe Yuan
2023-08-07 14:07:50 +08:00
parent c61b9e3910
commit 32f338137c
2 changed files with 25 additions and 8 deletions

View File

@@ -17,3 +17,4 @@ export const client = process.env.REACT_APP_CLIENT;
export const isExt = CLIENT_EXTS.includes(client);
export const isGm = client === CLIENT_USERSCRIPT;
export const isWeb = client === CLIENT_WEB;
export const isMobile = "ontouchstart" in document.documentElement;