aboutsummaryrefslogtreecommitdiffstats
path: root/js/main.js
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2011-12-14 14:17:48 -0800
committerfriendica <info@friendica.com>2011-12-14 14:17:48 -0800
commit431a4abd2563e8aa271549e5f18c523dcef4acaa (patch)
tree8e1d1630030795519deac9d588aa289409a599f0 /js/main.js
parent4007e7ec19bfca47a32ec73f1eb10d77f2de785f (diff)
downloadvolse-hubzilla-431a4abd2563e8aa271549e5f18c523dcef4acaa.tar.gz
volse-hubzilla-431a4abd2563e8aa271549e5f18c523dcef4acaa.tar.bz2
volse-hubzilla-431a4abd2563e8aa271549e5f18c523dcef4acaa.zip
name change stragglers, fix newmember links, liveupdate glitch
Diffstat (limited to 'js/main.js')
-rw-r--r--js/main.js12
1 files changed, 7 insertions, 5 deletions
diff --git a/js/main.js b/js/main.js
index 65d05e58a..071acb777 100644
--- a/js/main.js
+++ b/js/main.js
@@ -257,11 +257,13 @@
$('.wall-item-outside-wrapper',data).each(function() {
var ident = $(this).attr('id');
// 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'));
- });
- $('#' + prev).after($(this));
+ if($('#' + ident).length == 0) {
+ if(profile_page == 1 || prev != 'live-' + src) {
+ $('img',this).each(function() {
+ $(this).attr('src',$(this).attr('dst'));
+ });
+ $('#' + prev).after($(this));
+ }
}
else {
$('#' + ident + ' ' + '.wall-item-ago').replaceWith($(this).find('.wall-item-ago'));