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,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) {