diff options
author | friendica <info@friendica.com> | 2011-11-24 13:54:21 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2011-11-24 13:54:21 -0800 |
commit | 8aae7f047d3d29b167ee2372c10978dc3f16f801 (patch) | |
tree | a2381e4a6f01f3f621dcc3ac1a8c1d424124e23c /js | |
parent | b795ce4fe7c952600ed3520d6822006a2190d4f8 (diff) | |
download | volse-hubzilla-8aae7f047d3d29b167ee2372c10978dc3f16f801.tar.gz volse-hubzilla-8aae7f047d3d29b167ee2372c10978dc3f16f801.tar.bz2 volse-hubzilla-8aae7f047d3d29b167ee2372c10978dc3f16f801.zip |
comments collapsing on page update
Diffstat (limited to 'js')
-rw-r--r-- | js/main.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/js/main.js b/js/main.js index b8b89cd9d..af63ac0ba 100644 --- a/js/main.js +++ b/js/main.js @@ -224,15 +224,15 @@ $.get(update_url,function(data) { in_progress = false; - $('.collapsed-comments',data).each(function() { - var ident = $(this).attr('id'); - var is_hidden = $('#' + ident).is(':hidden'); - if($('#' + ident).length) { - $('#' + ident).replaceWith($(this)); - if(is_hidden) - $('#' + ident).hide(); - } - }); + // $('.collapsed-comments',data).each(function() { + // var ident = $(this).attr('id'); + // var is_hidden = $('#' + ident).is(':hidden'); + // if($('#' + ident).length) { + // $('#' + ident).replaceWith($(this)); + // if(is_hidden) + // $('#' + ident).hide(); + // } + //}); $('.wall-item-outside-wrapper',data).each(function() { var ident = $(this).attr('id'); if($('#' + ident).length == 0) { |