mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-26 22:29:28 +09:00
0e4a111f81
Resolve #7779
3 lines
109 B
TypeScript
3 lines
109 B
TypeScript
const ua = navigator.userAgent.toLowerCase();
|
|
export const isMobile = /mobile|iphone|ipad|android/.test(ua);
|