fix
This commit is contained in:
parent
cdc3c9305d
commit
d40b88b929
1 changed files with 2 additions and 2 deletions
|
@ -82,8 +82,8 @@ function awardModal(link) {
|
|||
function bruh(kind) {
|
||||
document.getElementById('giveaward').disabled=false;
|
||||
document.getElementById('kind').value=kind;
|
||||
try {document.getElementsByClassName('picked')[0].classList.toggle('picked');} catch(e) {}
|
||||
document.getElementById(kind).classList.toggle('picked')
|
||||
try {document.getElementsByClassName('bg-green-400')[0].classList.toggle('bg-green-400');} catch(e) {}
|
||||
document.getElementById(kind).classList.toggle('bg-green-400')
|
||||
if (kind == "flairlock") {
|
||||
document.getElementById('notelabel').innerHTML = "New flair:";
|
||||
document.getElementById('note').placeholder = "Insert new flair here...";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue