flairlock

This commit is contained in:
Aevann1 2021-10-21 22:50:00 +02:00
parent 26b9af2473
commit 395d47e0aa
15 changed files with 108 additions and 46 deletions

View file

@ -84,4 +84,12 @@ function bruh(kind) {
document.getElementById('kind').value=kind;
try {document.getElementsByClassName('picked')[0].classList.toggle('picked');} catch(e) {}
document.getElementById(kind).classList.toggle('picked')
if (kind == "flairlock") {
document.getElementById('notelabel').innerHTML = "New flair:";
document.getElementById('note').placeholder = "Insert new flair here...";
}
else {
document.getElementById('notelabel').innerHTML = "Note (optional):";
document.getElementById('note').placeholder = "Note to include in award notification";
}
}