animate show/hide comments
This commit is contained in:
parent
349e5d45ec
commit
4b1625dd16
@ -134,12 +134,12 @@
|
|||||||
|
|
||||||
function showHideComments(id) {
|
function showHideComments(id) {
|
||||||
if( $('#collapsed-comments-' + id).is(':visible')) {
|
if( $('#collapsed-comments-' + id).is(':visible')) {
|
||||||
$('#collapsed-comments-' + id).hide();
|
$('#collapsed-comments-' + id).slideUp();
|
||||||
$('#hide-comments-' + id).html(aStr['showmore']);
|
$('#hide-comments-' + id).html(aStr['showmore']);
|
||||||
$('#hide-comments-total-' + id).show();
|
$('#hide-comments-total-' + id).show();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$('#collapsed-comments-' + id).show();
|
$('#collapsed-comments-' + id).slideDown();
|
||||||
$('#hide-comments-' + id).html(aStr['showfewer']);
|
$('#hide-comments-' + id).html(aStr['showfewer']);
|
||||||
$('#hide-comments-total-' + id).hide();
|
$('#hide-comments-total-' + id).hide();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user