comment box premature close due to race condition with liveupdate

This commit is contained in:
Friendika 2011-08-10 22:20:59 -07:00
parent ac4ce27e88
commit 3f61f9f2c5
1 changed files with 2 additions and 1 deletions

View File

@ -174,6 +174,7 @@
else {
$('#' + ident + ' ' + '.wall-item-ago').replaceWith($(this).find('.wall-item-ago'));
if($('#' + ident + ' ' + '.comment-edit-text-empty').length)
$('#' + ident + ' ' + '.wall-item-comment-wrapper').replaceWith($(this).find('.wall-item-comment-wrapper'));
$('#' + ident + ' ' + '.wall-item-like').replaceWith($(this).find('.wall-item-like'));
$('#' + ident + ' ' + '.wall-item-dislike').replaceWith($(this).find('.wall-item-dislike'));