diff --git a/app/views/memos/show.html.erb b/app/views/memos/show.html.erb index b142d7e08..25732c36b 100644 --- a/app/views/memos/show.html.erb +++ b/app/views/memos/show.html.erb @@ -114,9 +114,9 @@ }); $(".homepagePostReplyDes").mouseover(function(){ - $(this).children().eq(1).children().eq(1).show(); + $(this).find("a[id*='delete_memo_reply']").show(); }).mouseout(function(){ - $(this).children().eq(1).children().eq(1).hide(); + $(this).find("a[id*='delete_memo_reply']").hide(); });