sfd
This commit is contained in:
parent
59a4a23276
commit
4566ee4347
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue