users: get rid of the .with-style class.

Replace with `body[data-current-user-style-usernames="true"]` instead.
This commit is contained in:
evazion
2020-07-13 11:19:37 -05:00
parent b1ccc44c91
commit d7f489b68e
3 changed files with 19 additions and 21 deletions

View File

@@ -190,7 +190,6 @@ module ApplicationHelper
user_class += " user-post-approver" if user.can_approve_posts?
user_class += " user-post-uploader" if user.can_upload_free?
user_class += " user-banned" if user.is_banned?
user_class += " with-style" if CurrentUser.user.style_usernames?
link_to(user.pretty_name, user_path(user), :class => user_class)
end