aboutsummaryrefslogtreecommitdiffstats
path: root/include/main.js
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-10 22:20:59 -0700
committerFriendika <info@friendika.com>2011-08-10 22:20:59 -0700
commit3f61f9f2c56a13170c03610665727b5ec17c841b (patch)
tree62918051e0931760f55c4b29f431e65252eea61e /include/main.js
parentac4ce27e88fa8d5c5298e2a35538215fed596dd4 (diff)
downloadvolse-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/main.js')
-rw-r--r--include/main.js3
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() {