From 1487bf4ff5235553e8bee5765740792c20117ba4 Mon Sep 17 00:00:00 2001 From: d11n Date: Thu, 24 Aug 2023 06:37:27 +0200 Subject: [PATCH] Unset link targt for payment scheme links (#5270) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Potential fix for #5266 — see the discussion in that issue for details. This change should be non-invasive, I tested the links in regular as well as modal mode and they worked in Firefox, Brave and Chrome. --- .../Views/Shared/Bitcoin/BitcoinLikeMethodCheckout-v2.cshtml | 2 +- .../Views/Shared/Bitcoin/BitcoinLikeMethodCheckout.cshtml | 2 +- .../Shared/Lightning/LightningLikeMethodCheckout-v2.cshtml | 2 +- .../Views/Shared/Lightning/LightningLikeMethodCheckout.cshtml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/BTCPayServer/Views/Shared/Bitcoin/BitcoinLikeMethodCheckout-v2.cshtml b/BTCPayServer/Views/Shared/Bitcoin/BitcoinLikeMethodCheckout-v2.cshtml index 9fe5b697f..4056ebaa5 100644 --- a/BTCPayServer/Views/Shared/Bitcoin/BitcoinLikeMethodCheckout-v2.cshtml +++ b/BTCPayServer/Views/Shared/Bitcoin/BitcoinLikeMethodCheckout-v2.cshtml @@ -24,7 +24,7 @@ - @await Component.InvokeAsync("UiExtensionPoint", new {location = "checkout-v2-bitcoin-post-content", model = Model}) diff --git a/BTCPayServer/Views/Shared/Bitcoin/BitcoinLikeMethodCheckout.cshtml b/BTCPayServer/Views/Shared/Bitcoin/BitcoinLikeMethodCheckout.cshtml index 3d5562466..96e605418 100644 --- a/BTCPayServer/Views/Shared/Bitcoin/BitcoinLikeMethodCheckout.cshtml +++ b/BTCPayServer/Views/Shared/Bitcoin/BitcoinLikeMethodCheckout.cshtml @@ -15,7 +15,7 @@
- + {{$t("Open in wallet")}}
diff --git a/BTCPayServer/Views/Shared/Lightning/LightningLikeMethodCheckout-v2.cshtml b/BTCPayServer/Views/Shared/Lightning/LightningLikeMethodCheckout-v2.cshtml index 9bc64d2f4..d0437faa8 100644 --- a/BTCPayServer/Views/Shared/Lightning/LightningLikeMethodCheckout-v2.cshtml +++ b/BTCPayServer/Views/Shared/Lightning/LightningLikeMethodCheckout-v2.cshtml @@ -15,7 +15,7 @@ -
This payment method is not available when using an insecure connection. Please use HTTPS or Tor.
@await Component.InvokeAsync("UiExtensionPoint", new {location = "checkout-v2-lightning-post-content", model = Model}) diff --git a/BTCPayServer/Views/Shared/Lightning/LightningLikeMethodCheckout.cshtml b/BTCPayServer/Views/Shared/Lightning/LightningLikeMethodCheckout.cshtml index e40ce487f..db08731ca 100644 --- a/BTCPayServer/Views/Shared/Lightning/LightningLikeMethodCheckout.cshtml +++ b/BTCPayServer/Views/Shared/Lightning/LightningLikeMethodCheckout.cshtml @@ -28,7 +28,7 @@
- + {{$t("Open in wallet")}}