Fix #4740: Hide underscores in the "Add to favorite group" window.

This commit is contained in:
evazion
2021-03-01 01:26:43 -06:00
parent a10dc33170
commit e5bbc039ae

View File

@@ -12,7 +12,7 @@
<% CurrentUser.favorite_groups.each_with_index do |favgroup, i| %>
<div>
<%= i + 1 %>.
<%= link_to favgroup.name,
<%= link_to favgroup.pretty_name,
add_post_favorite_group_path(favgroup, post_id: post.id, format: :js),
id: "add-to-favgroup-#{i + 1}", class: "add-to-favgroup", method: :put,
remote: true, "data-shortcut": (i + 1) % 10, "data-shortcut-when": ":visible"