forked from rDrama/rDrama
1
0
Fork 0
master
kek7198 2021-12-10 12:56:20 -06:00
parent cb54ccf8b4
commit 04756e5352
1 changed files with 2 additions and 2 deletions

View File

@ -317,7 +317,7 @@
<script> <script>
const TRANSFER_TAX = {% if v.patron or u.patron %}0{% else %}0.03{% endif %}; const TRANSFER_TAX = {% if v.patron or u.patron %}0{% else %}0.03{% endif %};
function updateTax(mobile=false) { 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) {
@ -326,7 +326,7 @@
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(mobile=false) { function transferCoins() {
let t = event.target; let t = event.target;
t.disabled = true; t.disabled = true;