mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 06:52:33 -05:00
fix open modal mobile
This commit is contained in:
1 parent
3667993caf
commit
50ec7682b5
20 files changed
+124
-65
No files matched your search
@@ -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