display live update; don't collapse comments on live update

This commit is contained in:
Zach Prezkuta 2012-11-01 18:31:50 -06:00
parent 6effdd570c
commit c9248b66db
16 changed files with 152 additions and 75 deletions

View file

@ -84,16 +84,8 @@
$(obj).val('');
}
function showHideComments(id) {
if( $('#collapsed-comments-' + id).is(':visible')) {
$('#collapsed-comments-' + id).hide();
$('#hide-comments-' + id).html('$showmore');
}
else {
$('#collapsed-comments-' + id).show();
$('#hide-comments-' + id).html('$showfewer');
}
}
window.showMore = "$showmore";
window.showFewer = "$showfewer";
function showHideCommentBox(id) {
if( $('#comment-edit-form-' + id).is(':visible')) {