fix open modal mobile

This commit is contained in:
Pete Matsyburka
2026-07-30 17:40:54 +03:00
parent 3667993caf
commit 50ec7682b5
20 changed files with 124 additions and 65 deletions
+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()
}
})