From 4f2d516920b708ffedd9b8fc60e34b6f9326c644 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 13 Dec 2011 15:21:11 -0800 Subject: liveupdate: only modify existing conversations if not page1 --- js/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'js') diff --git a/js/main.js b/js/main.js index 3f84ae6c4..65d05e58a 100644 --- a/js/main.js +++ b/js/main.js @@ -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')); }); -- cgit v1.2.3