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

+15
View File
@@ -0,0 +1,15 @@
export default class extends HTMLElement {
connectedCallback () {
this.addEventListener('click', this.onClick)
}
disconnectedCallback () {
this.removeEventListener('click', this.onClick)
}
onClick = (e) => {
e.preventDefault()
window.history.back()
}
}