aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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() {