This commit is contained in:
albert
2013-03-18 15:20:07 -07:00
parent fe3f864700
commit 9221e9ae9f
3 changed files with 3 additions and 1 deletions

View File

@@ -4,4 +4,5 @@
$("a#add-to-favorites").hide();
$("a#remove-from-favorites").show();
$("#score-for-post-<%= @post.id %>").html(<%= @post.score %>);
$("#favcount-for-post-<%= @post.id %>").html(<%= @post.fav_count %>);
<% end %>

View File

@@ -1,3 +1,4 @@
$("a#add-to-favorites").show();
$("a#remove-from-favorites").hide();
$("#score-for-post-<%= @post.id %>").html(<%= @post.score %>);
$("#favcount-for-post-<%= @post.id %>").html(<%= @post.fav_count %>);