mirror of
https://github.com/friendica/friendica
synced 2025-04-27 06:30:12 +00:00
name change stragglers, fix newmember links, liveupdate glitch
This commit is contained in:
parent
4007e7ec19
commit
431a4abd25
4 changed files with 15 additions and 13 deletions
12
js/main.js
12
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'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue