hide area if there are no widgets

v1.18.x
barisusakli 11 years ago
parent 9c0446d416
commit 351e376812

@ -53,9 +53,10 @@
area = $('#content [widget-area="' + location + '"]');
}
area.html(html).removeClass('hidden');
area.html(html);
if (!renderedWidgets.length) {
area.addClass('hidden');
ajaxify.widgets.reposition(location);
}

Loading…
Cancel
Save