From 89c0cbbfaeb5d2d512c272f2b99b758c0963235b Mon Sep 17 00:00:00 2001 From: Sainan Date: Sun, 12 Jan 2025 09:40:19 +0100 Subject: [PATCH] "prettier" --- static/webui/script.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/static/webui/script.js b/static/webui/script.js index 948be4e5..7e864a46 100644 --- a/static/webui/script.js +++ b/static/webui/script.js @@ -594,7 +594,10 @@ function addMissingWarframes() { requests.push({ type: "Powersuit", internalName: elm.getAttribute("data-key") }); } }); - if (requests.length != 0 && window.confirm("Are you sure you want to add " + requests.length + " items to your account?")) { + if ( + requests.length != 0 && + window.confirm("Are you sure you want to add " + requests.length + " items to your account?") + ) { dispatchAddItemsRequestsBatch(requests); } } @@ -606,7 +609,10 @@ function addMissingWeapons() { requests.push({ type: "Weapon", internalName: elm.getAttribute("data-key") }); } }); - if (requests.length != 0 && window.confirm("Are you sure you want to add " + requests.length + " items to your account?")) { + if ( + requests.length != 0 && + window.confirm("Are you sure you want to add " + requests.length + " items to your account?") + ) { dispatchAddItemsRequestsBatch(requests); } }