remotes/1693045480750635534/spooky-22
kek7198 2021-12-10 12:58:13 -06:00
parent 9a3022597f
commit 30c02b72db
1 changed files with 2 additions and 0 deletions

View File

@ -320,9 +320,11 @@
function updateTax() {
// let suf = mobile ? "-mobile" : "";
let amount = parseInt(document.getElementById("coins-transfer-amount").value);
if(isNaN(amount) || amount < 0) {
amount = 0;
}
document.getElementById("coins-transfer-taxed".innerText = amount - Math.ceil(amount*TRANSFER_TAX));
}