users: remove option to disable keyboard shortcuts.

Remove the enable_post_navigation option. This option was originally
added to disable the next/prev post navbar beneath posts. It was later
repurposed to disable keyboard shortcuts.

Users who don't want keyboard shortcuts are advised to not press random
buttons on the keyboard like a caveman.

Only ~1200 users disabled this option and only ~600 were seen in the
last year.
This commit is contained in:
evazion
2021-01-14 16:37:29 -06:00
parent b6fef7f3f3
commit 99d447279b
6 changed files with 11 additions and 14 deletions

View File

@@ -290,8 +290,8 @@ module ApplicationHelper
id name level level_string theme always_resize_images can_upload_free
can_approve_posts disable_categorized_saved_searches
disable_mobile_gestures disable_post_tooltips enable_auto_complete
enable_post_navigation enable_safe_mode hide_deleted_posts
show_deleted_children style_usernames default_image_size
enable_safe_mode hide_deleted_posts show_deleted_children style_usernames
default_image_size
] + User::Roles.map { |role| :"is_#{role}?" }
end