aboutsummaryrefslogtreecommitdiffstats
path: root/include/main.js
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-05-17 17:40:00 -0700
committerFriendika <info@friendika.com>2011-05-17 17:40:00 -0700
commit8fa9ca520badd6ae757bbafa647020ed50a288c3 (patch)
tree444cc44bfdde7e5e197cb41dc82bc39b1451c104 /include/main.js
parent8fa6049b32eeae5656ccc532744499d412cd42df (diff)
downloadvolse-hubzilla-8fa9ca520badd6ae757bbafa647020ed50a288c3.tar.gz
volse-hubzilla-8fa9ca520badd6ae757bbafa647020ed50a288c3.tar.bz2
volse-hubzilla-8fa9ca520badd6ae757bbafa647020ed50a288c3.zip
"show all n comments" comes back after toggled and ajax updated, plus connector doc improvements
Diffstat (limited to 'include/main.js')
-rw-r--r--include/main.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/main.js b/include/main.js
index c7a3aea48..e3e56fa0b 100644
--- a/include/main.js
+++ b/include/main.js
@@ -129,8 +129,11 @@
in_progress = false;
$('.ccollapse-wrapper',data).each(function() {
var ident = $(this).attr('id');
+ var is_hidden = $('#' + ident).is(':hidden');
if($('#' + ident).length) {
$('#' + ident).replaceWith($(this));
+ if(is_hidden)
+ $('#' + ident).hide();
}
});
$('.wall-item-outside-wrapper',data).each(function() {