mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-10 03:11:07 +00:00
feat: style: optimize code
This commit is contained in:
@@ -1634,4 +1634,3 @@ export const Utils = {
|
||||
};
|
||||
|
||||
export const isMobile = (typeof (window) !== 'undefined') && (window.innerWidth < 768 || navigator.userAgent.toLowerCase().match(/(ipod|ipad|iphone|android|coolpad|mmp|smartphone|midp|wap|xoom|symbian|j2me|blackberry|wince)/i) != null);
|
||||
|
||||
|
Reference in New Issue
Block a user