移动端去除鼠标样式
移动端去除鼠标样式
This commit is contained in:
parent
1eab49d8bb
commit
3489249f61
@ -40,6 +40,12 @@ body.addEventListener('mousemove', (e) => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
//移动端去除鼠标样式
|
||||||
|
switch (true) {
|
||||||
|
case navigator.userAgent.indexOf('Mobile') > 0:
|
||||||
|
$('#g-pointer-2').css("display", "none");
|
||||||
|
}
|
||||||
|
|
||||||
//加载完成后执行
|
//加载完成后执行
|
||||||
window.addEventListener('load', function () {
|
window.addEventListener('load', function () {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user