forked from rDrama/rDrama
1
0
Fork 0
Aevann 2023-08-03 09:55:39 +03:00
parent 915ebc3769
commit de67ecbecc
1 changed files with 3 additions and 2 deletions

View File

@ -53,10 +53,11 @@ function option_vote_2(t, oid, kind) {
},
() => {
t.disabled = true;
for(let el of document.getElementsByClassName('bet')) {
const parent = t.parentElement.parentElement
for(let el of parent.getElementsByClassName('bet')) {
el.disabled = true;
}
for(let el of document.getElementsByClassName('cost')) {
for(let el of parent.getElementsByClassName('cost')) {
el.classList.add('d-none')
}
const scoretext = document.getElementById('option-' + oid);