master
Aevann1 2021-09-17 17:11:39 +02:00
parent a776059557
commit 7a3b38ca73
1 changed files with 1 additions and 1 deletions

View File

@ -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>