forked from MarseyWorld/MarseyWorld
fdsf
parent
a776059557
commit
7a3b38ca73
|
@ -3,7 +3,7 @@ function bruh(kind) {
|
|||
document.getElementById('giveaward').disabled=false;
|
||||
document.getElementById('kind').value=kind;
|
||||
var picked = document.getElementsByClassName('picked')[0]
|
||||
if (picked !== undefined) {picked.classList.toggle('picked');}
|
||||
if (picked !== null) {picked.classList.toggle('picked');}
|
||||
document.getElementById(kind).classList.toggle('picked')
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue