Arc
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
lnbits/extensions/tpos/templates/tpos/tpos.html
|
@ -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" |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|