Disable hints on mobile (mobile events suck)
This commit is contained in:
parent
b54133ddd2
commit
9aedcfb31f
1 changed files with 5 additions and 0 deletions
|
|
@ -1,3 +1,8 @@
|
||||||
|
const isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
|
||||||
|
if (isMobile) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const body = document.querySelector('body');
|
const body = document.querySelector('body');
|
||||||
const elements = document.querySelectorAll('[data-tip]');
|
const elements = document.querySelectorAll('[data-tip]');
|
||||||
const hint = document.querySelector("#headerSubtitle");
|
const hint = document.querySelector("#headerSubtitle");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue