forked from rDrama/rDrama
Partially revert self-upvote UI bug fix. (#239)
Turns out the snippet in templates/comments.html was necessary to get proper behavior in notifications. Might come back to debug this later, but people use notifications more than they deal with edge case self-upvotes, so reverting for now. The changes to prevent coin fuckery with self-upvoting appear to work correctly in the wild, so leaving those in place.master
parent
18509b653a
commit
8eb86b965c
|
@ -112,6 +112,9 @@
|
|||
|
||||
{% if v %}
|
||||
{% set voted=c.voted %}
|
||||
{% if not voted and v.id == c.author_id %}
|
||||
{% set voted=1 %}
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% set voted=-2 %}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue