This commit is contained in:
Aevann1 2021-12-18 02:21:27 +02:00
parent 45a36e6d27
commit 57816cead8
2 changed files with 97 additions and 98 deletions

View file

@ -405,7 +405,7 @@ class Comment(Base):
else: html += f''' onchange="poll_vote_no_v('{o.id}', '{self.id}')"'''
html += f'''><label class="custom-control-label" for="{o.id}">{o.body_html}<span class="presult-{self.id}'''
if not self.total_poll_voted(v): html += ' d-none'
html += f'"> - <a href="/votes?link=t3_{o.id}"><span id="poll-{o.id}">{o.upvotes}</span> votes</a></span></label></div><pre></pre>'
html += f'"> - <a href="/votes?link=t3_{o.id}"><span id="poll-{o.id}">{o.upvotes}</span> votes</a></span></label></div>'
return html
class Notification(Base):