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