forked from rDrama/rDrama
i have no idea wtf im doing
parent
3415120eb2
commit
fde1b676b7
|
@ -101,8 +101,7 @@ 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');
|
||||
|
||||
setTimeout(() => {
|
||||
|
@ -114,6 +113,7 @@ function disable_btn(t) {
|
|||
t.disabled = false;
|
||||
}, 2000);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function register_new_elements(e) {
|
||||
|
|
Loading…
Reference in New Issue