parent
037837b551
commit
0e4a111f81
1714 changed files with 20803 additions and 11751 deletions
2
packages/client/src/scripts/is-mobile.ts
Normal file
2
packages/client/src/scripts/is-mobile.ts
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
const ua = navigator.userAgent.toLowerCase();
|
||||
export const isMobile = /mobile|iphone|ipad|android/.test(ua);
|
||||
Loading…
Add table
Add a link
Reference in a new issue