Bring back the js people pagination on tag show, we need a js file for that page

This commit is contained in:
Raphael Sofaer 2011-07-12 16:45:29 -07:00
parent 14759b2c80
commit c3ecc59bee

View file

@ -13,6 +13,7 @@
= include_javascripts :home = include_javascripts :home
:javascript :javascript
$(document).ready(function(){ $(document).ready(function(){
// Change the text and color of the "follow this tag" button on hover.
$(".button.tag_following").hover(function(){ $(".button.tag_following").hover(function(){
$this = $(this); $this = $(this);
$this.removeClass("in_aspects"); $this.removeClass("in_aspects");
@ -24,6 +25,11 @@
$this.val("#{t('.following', :tag => params[:name])}"); $this.val("#{t('.following', :tag => params[:name])}");
}); });
}); });
$(".people_stream .pagination a").live("click", function() {
$.getScript(this.href);
return false;
});
- content_for :body_class do - content_for :body_class do
= "tags_show" = "tags_show"