aboutsummaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2011-12-13 15:21:11 -0800
committerfriendica <info@friendica.com>2011-12-13 15:21:11 -0800
commit4f2d516920b708ffedd9b8fc60e34b6f9326c644 (patch)
tree8866b2084c1e707f8fcd4cdc03e0094d281ce611 /js
parentee4975f1cd9f205e2300f3e22e51079c5e26f155 (diff)
downloadvolse-hubzilla-4f2d516920b708ffedd9b8fc60e34b6f9326c644.tar.gz
volse-hubzilla-4f2d516920b708ffedd9b8fc60e34b6f9326c644.tar.bz2
volse-hubzilla-4f2d516920b708ffedd9b8fc60e34b6f9326c644.zip
liveupdate: only modify existing conversations if not page1
Diffstat (limited to 'js')
-rw-r--r--js/main.js3
1 files changed, 2 insertions, 1 deletions
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'));
});