sdf
This commit is contained in:
parent
4cf44004fe
commit
123a0e6631
2 changed files with 2 additions and 2 deletions
|
@ -280,7 +280,7 @@ function choice_vote(cid, parentid) {
|
|||
}
|
||||
|
||||
let curr = document.getElementById(`current-${parentid}`)
|
||||
if (curr.value)
|
||||
if (curr && curr.value)
|
||||
{
|
||||
var scoretext = document.getElementById('choice-' + curr.value);
|
||||
var score = Number(scoretext.textContent);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue