diff --git a/files/routes/settings.py b/files/routes/settings.py index d05a4c7a80..3e03a26e4d 100644 --- a/files/routes/settings.py +++ b/files/routes/settings.py @@ -171,8 +171,8 @@ def settings_profile_post(v): frontsize = request.values.get("frontsize") if frontsize: - if frontsize in ["25", "50", "100"]: - v.frontsize = int(frontsize) + if frontsize in [25, 50, 100]: + v.frontsize = frontsize updated = True cache.delete_memoized(frontlist) else: abort(400) diff --git a/files/templates/settings_filters.html b/files/templates/settings_filters.html index 4e92368fc1..88d58490fa 100644 --- a/files/templates/settings_filters.html +++ b/files/templates/settings_filters.html @@ -23,7 +23,7 @@
Change how many posts appear on every page.