selective update

This commit is contained in:
Mike Macgirvin 2010-08-10 03:21:39 -07:00
parent a8ce910362
commit 503f403b3b

View file

@ -63,7 +63,10 @@
if($('#' + ident).length == 0) { if($('#' + ident).length == 0) {
$('#' + prev).after($(this)); $('#' + 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; prev = ident;
}); });
}); });