remotes/1693045480750635534/spooky-22
Aevann1 2022-03-17 09:58:28 +02:00
parent 8ed5af569d
commit 1fe2855f0c
2 changed files with 2 additions and 2 deletions

View File

@ -294,7 +294,7 @@ def settings_profile_post(v):
frontsize = request.values.get("frontsize")
if frontsize:
if frontsize in {"25", "50", "100"}:
if frontsize in {"15", "25", "50", "100"}:
v.frontsize = int(frontsize)
updated = True
cache.delete_memoized(frontlist)

View File

@ -23,7 +23,7 @@
<p>Change how many posts appear on every page.</p>
<div class="input-group mb2">
<select autocomplete="off" id='frontsize' class="form-control" form="profile-settings" name="frontsize" onchange="post_toast(this,'/settings/profile?frontsize='+document.getElementById('frontsize').value)">
{% for entry in [25, 50, 100] %}
{% for entry in [15, 25, 50, 100] %}
<option value="{{entry}}"{{' selected' if v.frontsize==entry}}>{{entry}}</option>
{% endfor %}
</select>