mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 22:42:32 -05:00
show shared link enable button on disabled link page
This commit is contained in:
1 parent
a6715d4034
commit
7b1b4bcf2c
4 files changed
+54
-22
No files matched your search
@@ -1,7 +1,7 @@
|
||||
export default class extends HTMLElement {
|
||||
connectedCallback () {
|
||||
this.addEventListener('click', () => {
|
||||
if (!this.element.checked) {
|
||||
if (this.element && !this.element.disabled && !this.element.checked) {
|
||||
this.element.checked = true
|
||||
this.element.dispatchEvent(new Event('change', { bubbles: true }))
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user