mirror of
https://github.com/lsky-org/lsky-pro.git
synced 2025-01-08 11:57:52 +08:00
修复PC端开启平板模式后无法响应触摸事件的问题 Fixed #386
This commit is contained in:
parent
8ab428c593
commit
f7983a2f21
File diff suppressed because one or more lines are too long
@ -56,7 +56,7 @@ window.utils = {
|
|||||||
|| navigator.userAgent.match(/BlackBerry/i)
|
|| navigator.userAgent.match(/BlackBerry/i)
|
||||||
|| navigator.userAgent.match(/Windows Phone/i)
|
|| navigator.userAgent.match(/Windows Phone/i)
|
||||||
) {
|
) {
|
||||||
return true;
|
return window.screen.width < 768;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user