forked from rDrama/rDrama
am i retarded?
parent
bc15c7248e
commit
693e882eec
|
@ -99,6 +99,8 @@ for (const element of TH) {
|
||||||
|
|
||||||
function disable_btn(t) {
|
function disable_btn(t) {
|
||||||
if (!t.classList.contains('disabled')) {
|
if (!t.classList.contains('disabled')) {
|
||||||
|
t.classList.add('disabled');
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
t.disabled = true;
|
t.disabled = true;
|
||||||
}, 0.0000000000000000001);
|
}, 0.0000000000000000001);
|
||||||
|
@ -108,7 +110,6 @@ function disable_btn(t) {
|
||||||
t.disabled = false;
|
t.disabled = false;
|
||||||
}, 2000);
|
}, 2000);
|
||||||
}
|
}
|
||||||
t.classList.add('disabled');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function register_new_elements(e) {
|
function register_new_elements(e) {
|
||||||
|
|
Loading…
Reference in New Issue