mirror of
https://codeberg.org/teddit/teddit.git
synced 2026-03-05 13:30:33 -05:00
add a feature to the preferences where users can choose to collapse child comments automatically
This commit is contained in:
@@ -65,6 +65,12 @@ html
|
||||
max_heights_html += `<option value="${key}" ${(user_key == key ? "selected" : "")}>${key}</option>`
|
||||
}
|
||||
!= max_heights_html
|
||||
.setting
|
||||
label(for="collapse_child_comments") Collapse child comments automatically:
|
||||
if(user_preferences.collapse_child_comments == 'true')
|
||||
input(type="checkbox", name="collapse_child_comments", id="collapse_child_comments", checked="checked")
|
||||
else
|
||||
input(type="checkbox", name="collapse_child_comments", id="collapse_child_comments")
|
||||
legend Subscribed subreddits
|
||||
.setting
|
||||
details
|
||||
|
||||
Reference in New Issue
Block a user