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')) {
|
if (!t.classList.contains('disabled')) {
|
||||||
const isShopConfirm = t.id.startsWith('buy1-') || t.id.startsWith('buy2-') || t.id.startsWith('giveaward')
|
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(() => {
|
setTimeout(() => {
|
||||||
|
@ -115,6 +114,7 @@ function disable_btn(t) {
|
||||||
}, 2000);
|
}, 2000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function register_new_elements(e) {
|
function register_new_elements(e) {
|
||||||
const showmores = document.getElementsByClassName('showmore')
|
const showmores = document.getElementsByClassName('showmore')
|
||||||
|
|
Loading…
Reference in New Issue