forked from rDrama/rDrama
fix
parent
cb54ccf8b4
commit
04756e5352
|
@ -317,7 +317,7 @@
|
|||
<script>
|
||||
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 amount = parseInt(document.getElementById("coins-transfer-amount").value);
|
||||
if(isNaN(amount) || amount < 0) {
|
||||
|
@ -326,7 +326,7 @@
|
|||
document.getElementById("coins-transfer-taxed".innerText = amount - Math.ceil(amount*TRANSFER_TAX);
|
||||
}
|
||||
|
||||
function transferCoins(mobile=false) {
|
||||
function transferCoins() {
|
||||
let t = event.target;
|
||||
t.disabled = true;
|
||||
|
||||
|
|
Loading…
Reference in New Issue