forked from rDrama/rDrama
parent
e4645083f6
commit
7cc296e232
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue