Update tpos.html

This commit is contained in:
Arc 2020-04-13 22:31:30 +01:00 committed by GitHub
parent 708b2f2652
commit 1b82df8094
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"
}