mirror of
https://codeberg.org/teddit/teddit
synced 2025-03-15 02:50:04 +01:00
set show_upvotes checked by default
This commit is contained in:
parent
d71c88871c
commit
6c84bdd1e3
@ -98,7 +98,7 @@ html
|
||||
input(type="checkbox", name="show_upvoted_percentage", id="show_upvoted_percentage")
|
||||
.setting
|
||||
label(for="show_upvotes") Show upvotes:
|
||||
if (user_preferences.show_upvotes == 'true')
|
||||
if(!user_preferences.show_upvotes || user_preferences.show_upvotes == 'true')
|
||||
input(type="checkbox", name="show_upvotes", id="show_upvotes", checked="checked")
|
||||
else
|
||||
input(type="checkbox", name="show_upvotes", id="show_upvotes")
|
||||
|
Loading…
x
Reference in New Issue
Block a user