mirror of
https://github.com/lnbits/lnbits.git
synced 2025-03-30 04:32:01 +02:00
Update tpos.html
This commit is contained in:
parent
708b2f2652
commit
1b82df8094
@ -146,9 +146,9 @@ console.log("cunt")
|
|||||||
function keys(num){
|
function keys(num){
|
||||||
if(Number.isInteger(num)){
|
if(Number.isInteger(num)){
|
||||||
total = total + String(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"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user