diff options
author | Friendika <info@friendika.com> | 2011-08-10 22:20:59 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-08-10 22:20:59 -0700 |
commit | 3f61f9f2c56a13170c03610665727b5ec17c841b (patch) | |
tree | 62918051e0931760f55c4b29f431e65252eea61e /include | |
parent | ac4ce27e88fa8d5c5298e2a35538215fed596dd4 (diff) | |
download | volse-hubzilla-3f61f9f2c56a13170c03610665727b5ec17c841b.tar.gz volse-hubzilla-3f61f9f2c56a13170c03610665727b5ec17c841b.tar.bz2 volse-hubzilla-3f61f9f2c56a13170c03610665727b5ec17c841b.zip |
comment box premature close due to race condition with liveupdate
Diffstat (limited to 'include')
-rw-r--r-- | include/main.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/main.js b/include/main.js index 6db1f4179..d59c99223 100644 --- a/include/main.js +++ b/include/main.js @@ -174,7 +174,8 @@ else { $('#' + ident + ' ' + '.wall-item-ago').replaceWith($(this).find('.wall-item-ago')); - $('#' + ident + ' ' + '.wall-item-comment-wrapper').replaceWith($(this).find('.wall-item-comment-wrapper')); + 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')); $('#' + ident + ' ' + '.my-comment-photo').each(function() { |