forked from rDrama/rDrama
fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/4633405#context
parent
915ebc3769
commit
de67ecbecc
|
@ -53,10 +53,11 @@ function option_vote_2(t, oid, kind) {
|
||||||
},
|
},
|
||||||
() => {
|
() => {
|
||||||
t.disabled = true;
|
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;
|
el.disabled = true;
|
||||||
}
|
}
|
||||||
for(let el of document.getElementsByClassName('cost')) {
|
for(let el of parent.getElementsByClassName('cost')) {
|
||||||
el.classList.add('d-none')
|
el.classList.add('d-none')
|
||||||
}
|
}
|
||||||
const scoretext = document.getElementById('option-' + oid);
|
const scoretext = document.getElementById('option-' + oid);
|
||||||
|
|
Loading…
Reference in New Issue