diff --git a/public/src/widgets.js b/public/src/widgets.js index 2ef647bfc4..7e14eaf632 100644 --- a/public/src/widgets.js +++ b/public/src/widgets.js @@ -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); }