aboutsummaryrefslogtreecommitdiffstats
path: root/js/main.js
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2011-11-24 13:54:21 -0800
committerfriendica <info@friendica.com>2011-11-24 13:54:21 -0800
commit8aae7f047d3d29b167ee2372c10978dc3f16f801 (patch)
treea2381e4a6f01f3f621dcc3ac1a8c1d424124e23c /js/main.js
parentb795ce4fe7c952600ed3520d6822006a2190d4f8 (diff)
downloadvolse-hubzilla-8aae7f047d3d29b167ee2372c10978dc3f16f801.tar.gz
volse-hubzilla-8aae7f047d3d29b167ee2372c10978dc3f16f801.tar.bz2
volse-hubzilla-8aae7f047d3d29b167ee2372c10978dc3f16f801.zip
comments collapsing on page update
Diffstat (limited to 'js/main.js')
-rw-r--r--js/main.js18
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) {