forked from rDrama/rDrama
1
0
Fork 0
master
kek7198 2021-12-10 13:17:41 -06:00
parent 1d0ad05c54
commit 4641fb842f
1 changed files with 2 additions and 1 deletions

View File

@ -318,8 +318,9 @@
const TRANSFER_TAX = {% if v.patron or u.patron %}0{% else %}0.03{% endif %};
function updateTax() {
let amount = parseInt(document.getElementById("coins-transfer-amount").value);
// let suf = mobile ? "-mobile" : "";
let amount = parseInt((document.getElementById("coins-transfer-amount").value);
if(isNaN(amount) || amount < 0) {
amount = 0;