Add option to hide score

Add the option to hide score for posts and comments in preferences.
There is still however a blank margin where the score is supposed to be.
This commit is contained in:
gmnsii 2023-03-22 20:08:20 -07:00
parent e25622dac2
commit df3d894947
12 changed files with 36 additions and 5 deletions

View file

@ -5,7 +5,9 @@
{% else if kind == "t1" %}
<div id="{{ id }}" class="comment">
<div class="comment_left">
{% if prefs.hide_score != "on" %}
<p class="comment_score" title="{{ score.1 }}">{{ score.0 }}</p>
{% endif %}
<div class="line"></div>
</div>
<details class="comment_right" {% if !collapsed || highlighted %}open{% endif %}>