took out slide animation on comments due to sluggish performance
This commit is contained in:
parent
c2e5b539d8
commit
03243a277f
1 changed files with 4 additions and 2 deletions
|
|
@ -78,11 +78,13 @@ function expandComments(toggler){
|
||||||
if( toggler.hasClass("visible")) {
|
if( toggler.hasClass("visible")) {
|
||||||
toggler.removeClass("visible")
|
toggler.removeClass("visible")
|
||||||
.html(text.replace("hide", "show"));
|
.html(text.replace("hide", "show"));
|
||||||
commentBlock.slideUp(150);
|
//commentBlock.slideUp(150);
|
||||||
|
commentBlock.hide();
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
toggler.addClass("visible")
|
toggler.addClass("visible")
|
||||||
.html(text.replace("show", "hide"));
|
.html(text.replace("show", "hide"));
|
||||||
commentBlock.slideDown(150);
|
//commentBlock.slideDown(150);
|
||||||
|
commentBlock.show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue