forked from rDrama/rDrama
1
0
Fork 0
i'm an moron
master
kek7198 2021-12-10 13:06:06 -06:00
parent e4645083f6
commit 7cc296e232
1 changed files with 1 additions and 2 deletions

View File

@ -319,14 +319,13 @@
function updateTax() {
// let suf = mobile ? "-mobile" : "";
console.log('test this shit js')
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() {