selective update

This commit is contained in:
Mike Macgirvin 2010-08-10 03:21:39 -07:00
parent a8ce910362
commit 503f403b3b
1 changed files with 4 additions and 1 deletions

View File

@ -63,7 +63,10 @@
if($('#' + ident).length == 0) {
$('#' + prev).after($(this));
}
else { $('#' + ident).replaceWith($(this)); }
else {
$('#' + ident + ' ' + '.wall-item-ago').replaceWith($(this).find('.wall-item-ago'));
$('#' + ident + ' ' + '.wall-item-comment-wrapper').replaceWith($(this).find('.wall-item-comment-wrapper'));
}
prev = ident;
});
});