修复PC端开启平板模式后无法响应触摸事件的问题 Fixed #386

This commit is contained in:
Wisp X 2022-04-29 11:16:50 +08:00
parent 8ab428c593
commit f7983a2f21
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -56,7 +56,7 @@ window.utils = {
|| navigator.userAgent.match(/BlackBerry/i)
|| navigator.userAgent.match(/Windows Phone/i)
) {
return true;
return window.screen.width < 768;
}
return false;
},