0
0
Fork 0
mirror of https://github.com/ENSL/ensl.org.git synced 2025-01-27 03:30:54 +00:00
ensl.org/app/views/users/show.js.erb

7 lines
276 B
Text
Raw Normal View History

$("td#userData").fadeIn("fast");
$("td#userData").html("<%= escape_javascript(render(:partial => @page)) %>");
<% if ["comments", "matches", "predictions", "teams"].include? @page %>
$("td#userData").removeClass("box");
<% else %>
$("td#userData").addClass("box");
<% end %>