fix mobile modal

This commit is contained in:
Pete Matsyburka committed 2026-07-31 10:57:37 +03:00
1 parent 55089bee7f
commit 0d197bb2eb
4 files changed
+4 -3

No files matched your search

@@ -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