liveupdate: only modify existing conversations if not page1

This commit is contained in:
friendica 2011-12-13 15:21:11 -08:00
parent ee4975f1cd
commit 4f2d516920
2 changed files with 3 additions and 2 deletions

View file

@ -256,7 +256,8 @@
$('.wall-item-outside-wrapper',data).each(function() {
var ident = $(this).attr('id');
if($('#' + ident).length == 0) {
// If not on page 1, only add new conversation items to existing conversations on this page
if($('#' + ident).length == 0 && (profile_page == 1 || prev != 'live-' + src)) {
$('img',this).each(function() {
$(this).attr('src',$(this).attr('dst'));
});