forked from rDrama/rDrama
1
0
Fork 0
master
kek7198 2021-12-10 13:15:28 -06:00
parent 7cc296e232
commit 1d0ad05c54
1 changed files with 2 additions and 2 deletions

View File

@ -319,13 +319,13 @@
function updateTax() {
// let suf = mobile ? "-mobile" : "";
let amount = parseInt(document.getElementById("coins-transfer-amount").value);
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);
document.getElementById("coins-transfer-taxed").innerText = amount - Math.ceil(amount*TRANSFER_TAX);
}
function transferCoins() {