mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-26 11:56:16 +02:00
Update tpos.html
This commit is contained in:
@@ -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"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user