fmt: ActionButton.js

This commit is contained in:
jamesread 2023-09-26 22:09:42 +01:00
parent 77bd37ca90
commit 75a9697586
1 changed files with 2 additions and 2 deletions

View File

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