From 92b4f885268a36d9cbedfb0bade7c272c47f8c83 Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Fri, 5 Jul 2019 16:00:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E7=89=87=E7=B1=BB=E5=AE=9E=E8=AE=AD?= =?UTF-8?q?=E8=AF=84=E6=B5=8B=E9=97=AE=E9=A2=98=EF=BC=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/users/picture_show.js.erb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/views/users/picture_show.js.erb b/app/views/users/picture_show.js.erb index a41c1ed7..290d0d04 100644 --- a/app/views/users/picture_show.js.erb +++ b/app/views/users/picture_show.js.erb @@ -1,5 +1,3 @@ console.log("<%= @user_picture.present? %>") -<% if @user_picture.present? %> - $("#picture_display").html('<%= j (render :partial => 'games/picture_display') %>'); - $("#picture_display").show(); -<% end %> \ No newline at end of file +$("#picture_display").html('<%= j (render :partial => 'games/picture_display') %>'); +$("#picture_display").show(); \ No newline at end of file