limit frontpage size to 25 when enabling poor mode

pull/214/head
Aevann 2023-10-12 22:25:35 +03:00
parent bd992c54cf
commit 80fa4baa27
2 changed files with 3 additions and 1 deletions

View File

@ -142,6 +142,7 @@ def settings_personal_post(v):
session['poor'] = request.values.get("poor", v.poor) == 'true'
if session['poor']:
v.show_sigs = False
v.frontsize = 25
slur_filter_updated = updated or update_potentially_permanent_flag("slurreplacer", "slurreplacer", "slur replacer", 192)
if isinstance(slur_filter_updated, bool):

View File

@ -20,8 +20,9 @@
<span class="text-small text-muted">Makes the site faster for low-end devices:</span>
<ul>
<li><small>Disables the effects of cosmetic awards.</small></li>
<li><small>Hides signatures.</small></li>
<li><small>Makes emoji search only start when you press Enter.</small></li>
<li><small>Hides signatures.</small></li>
<li><small>Limits frontpage size to 25 posts.</small></li>
</ul>
</div>
</div>