fmt: ActionButton.js
This commit is contained in:
parent
77bd37ca90
commit
75a9697586
|
|
@ -53,8 +53,8 @@ class ActionButton extends window.HTMLElement {
|
|||
}
|
||||
}
|
||||
|
||||
getUniqueId() {
|
||||
if (window.isSecureContext) {
|
||||
getUniqueId () {
|
||||
if (window.isSecureContext) {
|
||||
return window.crypto.randomUUID()
|
||||
} else {
|
||||
return Date.now()
|
||||
|
|
|
|||
Loading…
Reference in New Issue