]> git.mxchange.org Git - friendica.git/blobdiff - js/main.js
little stuff - name change, live updates, new network types
[friendica.git] / js / main.js
index 9741bfaec1066dc0b1a22c68aef4129e11899103..b8b89cd9dfca3597ceae4ab898663b79ff10ae2a 100644 (file)
 
                $.get(update_url,function(data) {
                        in_progress = false;
-                       $('.ccollapse-wrapper',data).each(function() {
+                       $('.collapsed-comments',data).each(function() {
                                var ident = $(this).attr('id');
                                var is_hidden = $('#' + ident).is(':hidden');
                                if($('#' + ident).length) {
                                        $('#' + ident + ' ' + '.wall-item-ago').replaceWith($(this).find('.wall-item-ago')); 
                                        if($('#' + ident + ' ' + '.comment-edit-text-empty').length)
                                                $('#' + ident + ' ' + '.wall-item-comment-wrapper').replaceWith($(this).find('.wall-item-comment-wrapper'));
+                                       $('#' + ident + ' ' + '.hide-comments-total').replaceWith($(this).find('.hide-comments-total'));
                                        $('#' + ident + ' ' + '.wall-item-like').replaceWith($(this).find('.wall-item-like'));
                                        $('#' + ident + ' ' + '.wall-item-dislike').replaceWith($(this).find('.wall-item-dislike'));
                                        $('#' + ident + ' ' + '.my-comment-photo').each(function() {