From 8aae7f047d3d29b167ee2372c10978dc3f16f801 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 24 Nov 2011 13:54:21 -0800 Subject: [PATCH] comments collapsing on page update --- boot.php | 2 +- js/main.js | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/boot.php b/boot.php index 91e532072..640b0b8af 100644 --- a/boot.php +++ b/boot.php @@ -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) {