Skip to content

Commit

Permalink
restore edit button tooltip publiclab#9004 publiclab#9131
Browse files Browse the repository at this point in the history
  • Loading branch information
noi5e committed Feb 5, 2021
1 parent 061ff8c commit 21fb9bf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/views/notes/_comment.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,10 @@
<% end %>
<% if current_user && comment.uid == current_user.uid %>
<a
aria-label="Edit comment"
aria-label="Edit Comment"
class="btn btn-outline-secondary btn-sm edit-comment-btn"
rel="tooltip"
title="Edit Comment"
href="javascript:void(0)" onClick="
$('#edit-comment-form-wrapper-<%= comment.cid %>').toggle();
$('#<%= comment.cid %>-like-emojis').toggle();
Expand Down

0 comments on commit 21fb9bf

Please sign in to comment.