From 272263abc2c4d4d1744853b71131c4ff78829da3 Mon Sep 17 00:00:00 2001 From: Kukks Date: Fri, 8 Mar 2024 11:08:56 +0100 Subject: [PATCH] fix --- BTCPayServer/Plugins/BoltcardBalance/Views/ScanCard.cshtml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/BTCPayServer/Plugins/BoltcardBalance/Views/ScanCard.cshtml b/BTCPayServer/Plugins/BoltcardBalance/Views/ScanCard.cshtml index 9e3759999..7603d0d45 100644 --- a/BTCPayServer/Plugins/BoltcardBalance/Views/ScanCard.cshtml +++ b/BTCPayServer/Plugins/BoltcardBalance/Views/ScanCard.cshtml @@ -107,9 +107,6 @@ document.getElementById("balance-table").innerHTML = ""; }); - document.getElementById("reset-button").addEventListener("click", function (e) { - toggleDetails('boltcard-reset'); - }); await uiDelay; setState("ShowBalance"); } @@ -170,7 +167,7 @@ if (state === "NFCNotSupported") { document.getElementById("qr").classList.remove("d-none"); - document.querySelector(".nfc-supported").forEach(el => { + document.querySelectorAll(".nfc-supported").forEach(el => { el.classList.add("d-none"); }); }