commit 781e415923e52627b9c3b0294cd54f32a4b8bcce
parent 7ff1def255df4d2edbed3bf51051ac4123b2caac
Author: NicholasFarrow <nicholas.w.farrow@gmail.com>
Date: Fri, 5 Feb 2021 00:07:14 +1100
fix wrong button bug
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/templates/index.html b/templates/index.html
@@ -114,7 +114,7 @@
<div id="left" style="text-align: left; padding: 0;">
<!-- Alternate between offering lightning or on chain payment switch -->
{% if params.lnd_enabled %}
- {% if params.method == "lnd"%}
+ {% if params.method != "bitcoind"%}
<button onclick="replaceUrlParam(window.location, 'method', 'btcd');">On-chain Payment</button>
{% else %}
<button onclick="replaceUrlParam(window.location, 'method', 'lnd');">Lightning Payment</button>