From 3a44a6a3b47ba919843dd06608c54c85dab08496 Mon Sep 17 00:00:00 2001 From: James Read Date: Sun, 24 Sep 2023 23:57:23 +0100 Subject: [PATCH] fmt: ActionButton.js (#160) --- webui/js/ActionButton.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webui/js/ActionButton.js b/webui/js/ActionButton.js index 694218e..a8a5538 100644 --- a/webui/js/ActionButton.js +++ b/webui/js/ActionButton.js @@ -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