Fix #4740: Hide underscores in the "Add to favorite group" window.
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
<% CurrentUser.favorite_groups.each_with_index do |favgroup, i| %>
|
<% CurrentUser.favorite_groups.each_with_index do |favgroup, i| %>
|
||||||
<div>
|
<div>
|
||||||
<%= i + 1 %>.
|
<%= i + 1 %>.
|
||||||
<%= link_to favgroup.name,
|
<%= link_to favgroup.pretty_name,
|
||||||
add_post_favorite_group_path(favgroup, post_id: post.id, format: :js),
|
add_post_favorite_group_path(favgroup, post_id: post.id, format: :js),
|
||||||
id: "add-to-favgroup-#{i + 1}", class: "add-to-favgroup", method: :put,
|
id: "add-to-favgroup-#{i + 1}", class: "add-to-favgroup", method: :put,
|
||||||
remote: true, "data-shortcut": (i + 1) % 10, "data-shortcut-when": ":visible"
|
remote: true, "data-shortcut": (i + 1) % 10, "data-shortcut-when": ":visible"
|
||||||
|
|||||||
Reference in New Issue
Block a user