fmt: ActionButton.js

This commit is contained in:
James Read 2023-09-24 23:57:01 +01:00 committed by GitHub
parent 822327edfc
commit 604d956d0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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