From c6e3df334071eb45b0454f57c26c13640d9e055f Mon Sep 17 00:00:00 2001 From: justcool393 Date: Sun, 6 Nov 2022 23:45:09 -0600 Subject: [PATCH] settings: fix NSFW toggle --- files/routes/settings.py | 2 +- files/templates/settings_advanced.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/routes/settings.py b/files/routes/settings.py index aa8952f20..0f6a0749f 100644 --- a/files/routes/settings.py +++ b/files/routes/settings.py @@ -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") diff --git a/files/templates/settings_advanced.html b/files/templates/settings_advanced.html index 573eee63a..8fe475533 100644 --- a/files/templates/settings_advanced.html +++ b/files/templates/settings_advanced.html @@ -128,7 +128,7 @@
Content Filters
{{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)}}