mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 06:42:32 -05:00
adjust account preferences
This commit is contained in:
1 parent
f3b26bf7a0
commit
804431c44a
2 files changed
+81
-55
No files matched your search
@@ -4,6 +4,10 @@ export default class extends HTMLElement {
|
||||
this.interval = setInterval(() => {
|
||||
this.querySelector('form').requestSubmit()
|
||||
}, parseInt(this.dataset.interval))
|
||||
} else if (this.dataset.on) {
|
||||
this.lastElementChild.addEventListener(this.dataset.on, () => {
|
||||
this.lastElementChild.form.requestSubmit()
|
||||
})
|
||||
} else {
|
||||
this.querySelector('form').requestSubmit()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user