RS, AML; fixed jumping to top of page on comment toggle
This commit is contained in:
parent
3d976ca47e
commit
34400594ec
1 changed files with 2 additions and 1 deletions
|
|
@ -61,7 +61,8 @@ $(document).ready(function(){
|
|||
|
||||
// in field label plugin
|
||||
|
||||
$(".show_post_comments").live('click', function() {
|
||||
$(".show_post_comments").live('click', function(event) {
|
||||
event.preventDefault();
|
||||
if( $(this).hasClass( "visible" )) {
|
||||
$(this).html($(this).html().replace("hide", "show"));
|
||||
$(this).parents("li").children(".comments").fadeOut(100);
|
||||
|
|
|
|||
Loading…
Reference in a new issue