aboutsummaryrefslogtreecommitdiffstats
path: root/js/main.js
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2011-11-24 16:54:10 -0800
committerfriendica <info@friendica.com>2011-11-24 16:54:10 -0800
commitdcb209152d018f762c27da21e24063ada4b861cd (patch)
treed18e1bd05e20d99bd52119848e42e00eaaee94ba /js/main.js
parent9e8053e3bdb4669132a142cd2542956c01352ee5 (diff)
downloadvolse-hubzilla-dcb209152d018f762c27da21e24063ada4b861cd.tar.gz
volse-hubzilla-dcb209152d018f762c27da21e24063ada4b861cd.tar.bz2
volse-hubzilla-dcb209152d018f762c27da21e24063ada4b861cd.zip
more thread update fixes
Diffstat (limited to 'js/main.js')
-rw-r--r--js/main.js20
1 files changed, 11 insertions, 9 deletions
diff --git a/js/main.js b/js/main.js
index ba4bb36ef..a61a253db 100644
--- a/js/main.js
+++ b/js/main.js
@@ -242,15 +242,17 @@
$('#' + 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;