This commit is contained in:
xing 2020-04-07 20:22:47 +08:00
parent a9730746ee
commit 9a698e333a

View File

@ -381,7 +381,8 @@
} }
function check() { function check() {
return navigator.userAgent.toLowerCase().indexOf('mobile') > -1; let ua = navigator.userAgent.toLowerCase();
return ua.indexOf('mobile') > -1 || ua.indexOf('phone');
} }
function createTime() { function createTime() {