mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-27 04:51:14 +00:00
8 lines
No EOL
275 B
Text
8 lines
No EOL
275 B
Text
$("#user-data").fadeIn("fast");
|
|
$("#user-data").html("<%= escape_javascript(render(:partial => @page)) %>");
|
|
|
|
<% if ["comments", "matches", "predictions", "teams"].include? @page %>
|
|
$("#user-data").removeClass("box");
|
|
<% else %>
|
|
$("#user-data").addClass("box");
|
|
<% end %> |