Update circles.html
This commit is contained in:
1 parent
f09d6a7f71
commit
7805b05172
1 file changed
+3
@@ -467,6 +467,9 @@
|
|||||||
document.addEventListener('pjax:send', cleanup);
|
document.addEventListener('pjax:send', cleanup);
|
||||||
|
|
||||||
const updateTooltip = (e) => {
|
const updateTooltip = (e) => {
|
||||||
|
// Disable tooltip on mobile devices
|
||||||
|
if (window.innerWidth <= 768) return;
|
||||||
|
|
||||||
const item = e.target.closest('.fc-item');
|
const item = e.target.closest('.fc-item');
|
||||||
if (item) {
|
if (item) {
|
||||||
const desc = item.getAttribute('data-desc');
|
const desc = item.getAttribute('data-desc');
|
||||||
|
|||||||
Reference in new issue
Block a user