From 0054fe08868216cd3e380f62efdfdfaedbb6acf9 Mon Sep 17 00:00:00 2001 From: Dennis Reimann Date: Tue, 27 Jul 2021 19:52:57 +0200 Subject: [PATCH] Refactor copy to clipboard Separated out of #2701, prerequisite for the LNbank plugin integration. --- BTCPayServer/Views/Manage/APIKeys.cshtml | 1 - .../ShowLightningNodeInfo.cshtml | 7 +------ BTCPayServer/Views/PullPayment/ViewPullPayment.cshtml | 2 +- BTCPayServer/Views/Wallets/WalletReceive.cshtml | 10 ---------- BTCPayServer/bundleconfig.json | 1 + BTCPayServer/wwwroot/js/copy-to-clipboard.js | 8 +++++++- 6 files changed, 10 insertions(+), 19 deletions(-) diff --git a/BTCPayServer/Views/Manage/APIKeys.cshtml b/BTCPayServer/Views/Manage/APIKeys.cshtml index 5ef74bf5e..b295ac37d 100644 --- a/BTCPayServer/Views/Manage/APIKeys.cshtml +++ b/BTCPayServer/Views/Manage/APIKeys.cshtml @@ -86,7 +86,6 @@ @section PageFootContent { - -
@@ -63,5 +57,6 @@
+ diff --git a/BTCPayServer/Views/PullPayment/ViewPullPayment.cshtml b/BTCPayServer/Views/PullPayment/ViewPullPayment.cshtml index 98391f775..0502e934f 100644 --- a/BTCPayServer/Views/PullPayment/ViewPullPayment.cshtml +++ b/BTCPayServer/Views/PullPayment/ViewPullPayment.cshtml @@ -39,7 +39,6 @@ } @Safe.Raw(Model.EmbeddedCSS) -