settings: fix NSFW toggle

remotes/1693176582716663532/tmp_refs/heads/watchparty
justcool393 2022-11-06 23:45:09 -06:00
parent 07f4383d4c
commit c6e3df3340
2 changed files with 2 additions and 2 deletions

View File

@ -118,7 +118,7 @@ def settings_personal_post(v):
updated = updated or update_flag("imginn", "imginn")
updated = updated or update_flag("controversial", "controversial")
updated = updated or update_flag("sigs_disabled", "sigs_disabled")
updated = updated or update_flag("over_18", "over18")
updated = updated or update_flag("over_18", "over_18")
updated = updated or update_flag("is_private", "private")
updated = updated or update_flag("is_nofollow", "nofollow")

View File

@ -128,7 +128,7 @@
<h5>Content Filters</h5>
<div class="settings-section rounded">
{{common.toggle_section('Disable Signatures', 'sigs_disabled', 'sigs_disabled', v.sigs_disabled, 'Hide user signatures.', false)}}
{{common.toggle_section('Disable +18 Warnings', 'over18', 'over18', v.over18, "Enable if you would like to not get a warning before viewing +18 content.", false)}}
{{common.toggle_section('Disable +18 Warnings', 'over_18', 'over_18', v.over_18, "Enable if you would like to not get a warning before viewing +18 content.", false)}}
{{common.toggle_section('Hide Posts Voted On', 'hidevotedon', 'hidevotedon', v.hidevotedon, 'Enable if you would like to automatically hide posts you have voted on from your frontpage.', false)}}
<div class="d-lg-flex border-bottom">
<div class="title w-lg-25">