forked from rDrama/rDrama
1
0
Fork 0

i have no idea wtf im doing

master
Aevann 2023-03-09 22:34:36 +02:00
parent 3415120eb2
commit fde1b676b7
1 changed files with 11 additions and 11 deletions

View File

@ -101,18 +101,18 @@ function disable_btn(t) {
if (!t.classList.contains('disabled')) {
const isShopConfirm = t.id.startsWith('buy1-') || t.id.startsWith('buy2-') || t.id.startsWith('giveaward')
if (isShopConfirm) return
if (!isShopConfirm) {
t.classList.add('disabled');
t.classList.add('disabled');
setTimeout(() => {
t.disabled = true;
}, 0.0000000000000000001);
setTimeout(() => {
t.classList.remove("disabled");
t.disabled = false;
}, 2000);
setTimeout(() => {
t.disabled = true;
}, 0.0000000000000000001);
setTimeout(() => {
t.classList.remove("disabled");
t.disabled = false;
}, 2000);
}
}
}