fmt: ActionButton.js (#160)
This commit is contained in:
parent
822327edfc
commit
3a44a6a3b4
|
|
@ -53,14 +53,14 @@ class ActionButton extends window.HTMLElement {
|
|||
}
|
||||
}
|
||||
|
||||
getUniqueId() {
|
||||
if (window.isSecureContext) {
|
||||
getUniqueId () {
|
||||
if (window.isSecureContext) {
|
||||
return window.crypto.randomUUID()
|
||||
} else {
|
||||
return Date.now()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
startAction (actionArgs) {
|
||||
// this.btn.disabled = true
|
||||
// this.isWaiting = true
|
||||
|
|
|
|||
Loading…
Reference in New Issue