From 89dc5bc3f5e3d22f20cebff70344bfd96c2501d2 Mon Sep 17 00:00:00 2001 From: Arc <33088785+arcbtc@users.noreply.github.com> Date: Wed, 26 Feb 2020 19:13:32 +0000 Subject: [PATCH] Update tpos.html --- lnbits/extensions/tpos/templates/tpos/tpos.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lnbits/extensions/tpos/templates/tpos/tpos.html b/lnbits/extensions/tpos/templates/tpos/tpos.html index d23a0c3..5add967 100644 --- a/lnbits/extensions/tpos/templates/tpos/tpos.html +++ b/lnbits/extensions/tpos/templates/tpos/tpos.html @@ -169,7 +169,7 @@ function keys(num){ if(Number.isInteger(num)){ total = total + String(num) - document.getElementById("fiat").innerHTML = String(parseInt(total)/100) + " " + "USD" + document.getElementById("fiat").innerHTML = String(parseInt(total)/100) + " " + {{ ratee }} document.getElementById("sats").innerHTML = parseInt( (parseInt(total)/100) * parseInt( {{exchange}} )) + " " + "Sats" @@ -190,7 +190,7 @@ } else if(num == "OK"){ - submitforticket(parseInt((parseInt(total)/100)*9000)) + submitforticket(parseInt((parseInt(total)/100)* parseInt( {{exchange}} )))) } }