From: friendica Date: Tue, 13 Dec 2011 23:21:11 +0000 (-0800) Subject: liveupdate: only modify existing conversations if not page1 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4f2d516920b708ffedd9b8fc60e34b6f9326c644;p=friendica.git liveupdate: only modify existing conversations if not page1 --- diff --git a/boot.php b/boot.php index b02b0be982..c604e4f77e 100644 --- a/boot.php +++ b/boot.php @@ -9,7 +9,7 @@ require_once('include/nav.php'); require_once('include/cache.php'); define ( 'FRIENDICA_PLATFORM', 'Friendica'); -define ( 'FRIENDICA_VERSION', '2.3.1193' ); +define ( 'FRIENDICA_VERSION', '2.3.1194' ); define ( 'DFRN_PROTOCOL_VERSION', '2.22' ); define ( 'DB_UPDATE_VERSION', 1111 ); diff --git a/js/main.js b/js/main.js index 3f84ae6c48..65d05e58ad 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')); });