more thread update fixes
This commit is contained in:
parent
9e8053e3bd
commit
dcb209152d
1 changed files with 11 additions and 9 deletions
20
js/main.js
20
js/main.js
|
@ -242,15 +242,17 @@
|
||||||
$('#' + prev).after($(this));
|
$('#' + prev).after($(this));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
$('.wall-item-outside-wrapper').each(function() {
|
||||||
$('#' + ident + ' ' + '.wall-item-ago').replaceWith($(this).find('.wall-item-ago'));
|
var iident = $(this).attr('id');
|
||||||
if($('#' + ident + ' ' + '.comment-edit-text-empty').length)
|
$('#' + iident + ' ' + '.wall-item-ago').replaceWith($(this).find('.wall-item-ago'));
|
||||||
$('#' + ident + ' ' + '.wall-item-comment-wrapper').replaceWith($(this).find('.wall-item-comment-wrapper'));
|
if($('#' + iident + ' ' + '.comment-edit-text-empty').length)
|
||||||
$('#' + ident + ' ' + '.hide-comments-total').replaceWith($(this).find('.hide-comments-total'));
|
$('#' + iident + ' ' + '.wall-item-comment-wrapper').replaceWith($(this).find('.wall-item-comment-wrapper'));
|
||||||
$('#' + ident + ' ' + '.wall-item-like').replaceWith($(this).find('.wall-item-like'));
|
$('#' + iident + ' ' + '.hide-comments-total').replaceWith($(this).find('.hide-comments-total'));
|
||||||
$('#' + ident + ' ' + '.wall-item-dislike').replaceWith($(this).find('.wall-item-dislike'));
|
$('#' + iident + ' ' + '.wall-item-like').replaceWith($(this).find('.wall-item-like'));
|
||||||
$('#' + ident + ' ' + '.my-comment-photo').each(function() {
|
$('#' + iident + ' ' + '.wall-item-dislike').replaceWith($(this).find('.wall-item-dislike'));
|
||||||
$(this).attr('src',$(this).attr('dst'));
|
$('#' + iident + ' ' + '.my-comment-photo').each(function() {
|
||||||
|
$(this).attr('src',$(this).attr('dst'));
|
||||||
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
prev = ident;
|
prev = ident;
|
||||||
|
|
Loading…
Reference in a new issue