fix open modal mobile
This commit is contained in:
@@ -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()
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user