post tooltips: add disable button inside tooltip.

This commit is contained in:
evazion
2018-04-30 00:05:34 -05:00
parent 1d14885bd5
commit 80f8a7fee4
3 changed files with 31 additions and 0 deletions

View File

@@ -7,4 +7,8 @@
<%= link_to "toptagger:#{@post.keeper.name}", user_path(@post.keeper) %>
<%= link_to_search "rating:#{@post.pretty_rating.downcase}" %>
<%= link_to_search "score:#{@post.score}" %>
<%= link_to "#", class: "post-tooltip-disable", title: "Disable enhanced tooltips" do %>
<i class="fas fa-times-circle"></i>
<% end %>
</div>