This commit is contained in:
Aevann1 2022-02-07 14:14:39 +02:00
parent 4cf44004fe
commit 123a0e6631
2 changed files with 2 additions and 2 deletions

View file

@ -280,7 +280,7 @@ function choice_vote(cid, parentid) {
} }
let curr = document.getElementById(`current-${parentid}`) let curr = document.getElementById(`current-${parentid}`)
if (curr.value) if (curr && curr.value)
{ {
var scoretext = document.getElementById('choice-' + curr.value); var scoretext = document.getElementById('choice-' + curr.value);
var score = Number(scoretext.textContent); var score = Number(scoretext.textContent);

View file

@ -910,7 +910,7 @@
{% if v %} {% if v %}
<script src="/static/assets/js/marked.js?a=240"></script> <script src="/static/assets/js/marked.js?a=240"></script>
<script src="/static/assets/js/comments_v.js?a=242"></script> <script src="/static/assets/js/comments_v.js?a=243"></script>
{% endif %} {% endif %}
<script src="/static/assets/js/clipboard.js?a=240"></script> <script src="/static/assets/js/clipboard.js?a=240"></script>