From 604d956d0ca0e3a979b7935815020842ec48a339 Mon Sep 17 00:00:00 2001 From: James Read Date: Sun, 24 Sep 2023 23:57:01 +0100 Subject: [PATCH] fmt: ActionButton.js --- 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