fix mobile modal

This commit is contained in:
Pete Matsyburka
2026-07-31 10:57:37 +03:00
parent 55089bee7f
commit 0d197bb2eb
4 changed files with 4 additions and 3 deletions
@@ -1,5 +1,6 @@
export default class extends HTMLElement {
connectedCallback () {
if (this.dataset.disabled === 'true') return
if (!this.isMobile()) return
if (window.innerWidth >= 768) return