chore: formatting
This commit is contained in:
@@ -79,10 +79,10 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
const onResize = () => {
|
const onResize = () => {
|
||||||
if(show && window.innerWidth < BREAKPOINT) {
|
if (show && window.innerWidth < BREAKPOINT) {
|
||||||
show = false;
|
show = false;
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
document.addEventListener('touchstart', onTouchStart);
|
document.addEventListener('touchstart', onTouchStart);
|
||||||
document.addEventListener('touchend', onTouchEnd);
|
document.addEventListener('touchend', onTouchEnd);
|
||||||
|
|||||||
Reference in New Issue
Block a user