|
@@ -53,14 +53,14 @@ class ActionButton extends window.HTMLElement {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- getUniqueId() {
|
|
|
|
|
- if (window.isSecureContext) {
|
|
|
|
|
|
|
+ getUniqueId () {
|
|
|
|
|
+ if (window.isSecureContext) {
|
|
|
return window.crypto.randomUUID()
|
|
return window.crypto.randomUUID()
|
|
|
} else {
|
|
} else {
|
|
|
return Date.now()
|
|
return Date.now()
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
startAction (actionArgs) {
|
|
startAction (actionArgs) {
|
|
|
// this.btn.disabled = true
|
|
// this.btn.disabled = true
|
|
|
// this.isWaiting = true
|
|
// this.isWaiting = true
|