From 1b82df80949ac762e40e2d1dc1139d8819b481a2 Mon Sep 17 00:00:00 2001 From: Arc <33088785+arcbtc@users.noreply.github.com> Date: Mon, 13 Apr 2020 22:31:30 +0100 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 3fe910790..0e4fe75c7 100644 --- a/lnbits/extensions/tpos/templates/tpos/tpos.html +++ b/lnbits/extensions/tpos/templates/tpos/tpos.html @@ -146,9 +146,9 @@ console.log("cunt") function keys(num){ if(Number.isInteger(num)){ total = total + String(num) - document.getElementById("fiat").innerHTML = String(parseInt(total)/100) + " " + "" + document.getElementById("fiat").innerHTML = String(parseInt(total)/100) + " " + " {{ curr }}" - document.getElementById("sats").innerHTML = parseInt( (parseInt(total)/100) * "{{ rate }}") + "Sats" + document.getElementById("sats").innerHTML = parseInt( (parseInt(total)/100) * "{{ rate }}") + " Sats" }