forked from rDrama/rDrama
fix
parent
7cc296e232
commit
1d0ad05c54
|
@ -319,13 +319,13 @@
|
||||||
|
|
||||||
function updateTax() {
|
function updateTax() {
|
||||||
// let suf = mobile ? "-mobile" : "";
|
// 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) {
|
if(isNaN(amount) || amount < 0) {
|
||||||
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() {
|
function transferCoins() {
|
||||||
|
|
Loading…
Reference in New Issue