Skip to content

Commit

Permalink
Bring back the js people pagination on tag show, we need a js file fo…
Browse files Browse the repository at this point in the history
…r that page
  • Loading branch information
Raphael Sofaer committed Jul 12, 2011
1 parent 14759b2 commit c3ecc59
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/views/tags/show.haml
Expand Up @@ -13,6 +13,7 @@
= include_javascripts :home
:javascript
$(document).ready(function(){
// Change the text and color of the "follow this tag" button on hover.
$(".button.tag_following").hover(function(){
$this = $(this);
$this.removeClass("in_aspects");
Expand All @@ -24,6 +25,11 @@
$this.val("#{t('.following', :tag => params[:name])}");
});
});
$(".people_stream .pagination a").live("click", function() {
$.getScript(this.href);
return false;
});


- content_for :body_class do
= "tags_show"
Expand Down

0 comments on commit c3ecc59

Please sign in to comment.