master
Aevann1 2021-09-17 17:09:45 +02:00
parent 1db2cbf94c
commit b690f08fa1
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ function toggle(kind) {
document.getElementById('giveaward').disabled=false;
document.getElementById('kind').value=kind;
var picked = document.getElementsByClassName('picked')
if (picked !== null) {picked.classList.toggle('picked');}
if (picked !== undefined) {picked.classList.toggle('picked');}
document.getElementById(kind).classList.toggle('picked')
}
</script>