Remove stream lives from ready block
This commit is contained in:
parent
17636f4fd2
commit
f8d63052d4
1 changed files with 41 additions and 40 deletions
|
|
@ -3,10 +3,11 @@ $(document).ready(function(){
|
|||
var $this = $(this);
|
||||
if($this.children().length > 1) {
|
||||
$this.parent().show();
|
||||
var show_comments_toggle = $(this).parent().prev().children(".show_post_comments");
|
||||
show_comments_toggle.html("hide comments ("+ ($(this).children().length - 1) + ")");
|
||||
var show_comments_toggle = $this.parent().prev().children(".show_post_comments");
|
||||
show_comments_toggle.html("hide comments ("+ ($this.children().length - 1) + ")");
|
||||
};
|
||||
});
|
||||
});//end document ready
|
||||
|
||||
$("#stream li").live('mouseover',function() {
|
||||
$(this).children(".destroy_link").fadeIn(0);
|
||||
|
|
@ -45,4 +46,4 @@ $(document).ready(function(){
|
|||
$(".comment_submit").live('click', function(evt){
|
||||
$this.parents("p").parents("form").children("p").children(".comment_box").attr("rows", 1);
|
||||
});
|
||||
});//end document ready
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue