forked from rDrama/rDrama
sfdsf
parent
7a3b38ca73
commit
54ce1d14ec
|
@ -2,8 +2,7 @@
|
||||||
function bruh(kind) {
|
function bruh(kind) {
|
||||||
document.getElementById('giveaward').disabled=false;
|
document.getElementById('giveaward').disabled=false;
|
||||||
document.getElementById('kind').value=kind;
|
document.getElementById('kind').value=kind;
|
||||||
var picked = document.getElementsByClassName('picked')[0]
|
try {document.getElementsByClassName('picked')[0].classList.toggle('picked');} catch(e) {}
|
||||||
if (picked !== null) {picked.classList.toggle('picked');}
|
|
||||||
document.getElementById(kind).classList.toggle('picked')
|
document.getElementById(kind).classList.toggle('picked')
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue