Bring back the js people pagination on tag show, we need a js file for that page
This commit is contained in:
parent
14759b2c80
commit
c3ecc59bee
1 changed files with 6 additions and 0 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue