]> git.mxchange.org Git - friendica.git/commitdiff
more thread update fixes
authorfriendica <info@friendica.com>
Fri, 25 Nov 2011 00:54:10 +0000 (16:54 -0800)
committerfriendica <info@friendica.com>
Fri, 25 Nov 2011 00:54:10 +0000 (16:54 -0800)
js/main.js

index ba4bb36efc1afef28ce1572669229277f85b45a3..a61a253db80bb62df97388bde0842ca80116666b 100644 (file)
                                        $('#' + prev).after($(this));
                                }
                                else { 
-
-                                       $('#' + 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() {
-                                               $(this).attr('src',$(this).attr('dst'));
+                                       $('.wall-item-outside-wrapper').each(function() {
+                                               var iident = $(this).attr('id');
+                                               $('#' + iident + ' ' + '.wall-item-ago').replaceWith($(this).find('.wall-item-ago')); 
+                                               if($('#' + iident + ' ' + '.comment-edit-text-empty').length)
+                                                       $('#' + iident + ' ' + '.wall-item-comment-wrapper').replaceWith($(this).find('.wall-item-comment-wrapper'));
+                                               $('#' + iident + ' ' + '.hide-comments-total').replaceWith($(this).find('.hide-comments-total'));
+                                               $('#' + iident + ' ' + '.wall-item-like').replaceWith($(this).find('.wall-item-like'));
+                                               $('#' + iident + ' ' + '.wall-item-dislike').replaceWith($(this).find('.wall-item-dislike'));
+                                               $('#' + iident + ' ' + '.my-comment-photo').each(function() {
+                                                       $(this).attr('src',$(this).attr('dst'));
+                                               });
                                        });
                                }
                                prev = ident;