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 | |
parent | b795ce4fe7c952600ed3520d6822006a2190d4f8 (diff) | |
download | volse-hubzilla-8aae7f047d3d29b167ee2372c10978dc3f16f801.tar.gz volse-hubzilla-8aae7f047d3d29b167ee2372c10978dc3f16f801.tar.bz2 volse-hubzilla-8aae7f047d3d29b167ee2372c10978dc3f16f801.zip |
comments collapsing on page update
-rw-r--r-- | boot.php | 2 | ||||
-rw-r--r-- | js/main.js | 18 |
2 files changed, 10 insertions, 10 deletions
@@ -9,7 +9,7 @@ require_once('include/nav.php'); require_once('include/cache.php'); define ( 'FRIENDICA_PLATFORM', 'Friendica'); -define ( 'FRIENDICA_VERSION', '2.3.1174' ); +define ( 'FRIENDICA_VERSION', '2.3.1175' ); define ( 'DFRN_PROTOCOL_VERSION', '2.22' ); define ( 'DB_UPDATE_VERSION', 1105 ); 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) { |