fix open modal mobile

This commit is contained in:
Pete Matsyburka committed 2026-07-30 18:13:54 +03:00
1 parent 3667993caf
commit 50ec7682b5
20 files changed
+124 -65

No files matched your search

+1 -5
View File
@@ -42,10 +42,6 @@ export default actionable(class extends HTMLElement {
close = (e) => {
e?.preventDefault()
if (!this.closest('turbo-frame')?.src && window.history.length > 1) {
window.history.back()
} else {
this.remove()
}
this.remove()
}
})