selective update
This commit is contained in:
parent
a8ce910362
commit
503f403b3b
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue