From bcb02e49d3cf2b33160e88431caa084080014894 Mon Sep 17 00:00:00 2001 From: cxt Date: Tue, 3 May 2016 17:23:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=BE=E7=A8=8B=E9=97=AE=E7=AD=94=E5=8C=BA?= =?UTF-8?q?=E7=9A=84=E5=90=8D=E7=89=87=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/users/_course_message.html.erb | 2 +- public/javascripts/application.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/users/_course_message.html.erb b/app/views/users/_course_message.html.erb index 356a152a6..2f790b19b 100644 --- a/app/views/users/_course_message.html.erb +++ b/app/views/users/_course_message.html.erb @@ -2,7 +2,7 @@
<%= link_to image_tag(url_to_avatar(activity.author), :width => "50", :height => "50"), user_path(activity.author_id,:host=>Setting.host_user), :alt => "用户头像" %> - <%#= render :partial => 'users/show_detail_info', :locals => {:user => activity.author} %> + <%= render :partial => 'users/show_detail_info', :locals => {:user => activity.author} %>
diff --git a/public/javascripts/application.js b/public/javascripts/application.js index 3fdabd2f8..a9e922218 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -26,6 +26,7 @@ function description_show_hide(id){ //名片的显示 function user_card_show_hide() { $(".homepagePostPortrait").mouseover(function(){ + $(".userCard").css("display","none"); onImage = true; $(this).children(".userCard").css("display","block"); });