From 28dbf10a3198ce8ff997810ae0b35f18f41ee8b0 Mon Sep 17 00:00:00 2001 From: Nicolas Dorier Date: Mon, 24 Jan 2022 20:05:22 +0900 Subject: [PATCH] Do not rely on element's id for payment button (#3339) * Do not rely on element's id for payment button * Update BTCPayServer/Views/UIStores/PayButton.cshtml Co-authored-by: d11n * Update BTCPayServer/Views/UIStores/PayButton.cshtml Co-authored-by: d11n * Update BTCPayServer/Views/UIStores/PayButton.cshtml Co-authored-by: d11n * Update BTCPayServer/Views/UIStores/PayButton.cshtml Co-authored-by: d11n Co-authored-by: d11n --- BTCPayServer/Views/UIStores/PayButton.cshtml | 23 +++++++++++++------- BTCPayServer/wwwroot/paybutton/paybutton.js | 4 ++-- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/BTCPayServer/Views/UIStores/PayButton.cshtml b/BTCPayServer/Views/UIStores/PayButton.cshtml index d77db18e9..61009ab79 100644 --- a/BTCPayServer/Views/UIStores/PayButton.cshtml +++ b/BTCPayServer/Views/UIStores/PayButton.cshtml @@ -41,7 +41,8 @@