From f998fc478cde70fac64fba5775e93d8cb341b3af Mon Sep 17 00:00:00 2001 From: Michael Bumann Date: Wed, 9 Jan 2019 12:08:44 +0100 Subject: [PATCH] Show popup if webln fails --- assets/lntip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/lntip.js b/assets/lntip.js index 61feb7b..b73ddfa 100644 --- a/assets/lntip.js +++ b/assets/lntip.js @@ -74,7 +74,7 @@ LnTip.prototype.payWithWebln = function () { webln.enable().then((weblnResponse) => { return webln.sendPayment({ paymentRequest: this.invoice.PaymentRequest }) }).catch((e) => { - return this.requestPayment(); + return this.showPaymentRequest(); }) } else { return webln.sendPayment({ paymentRequest: this.invoice.PaymentRequest })