This commit is contained in:
psychobunny
2014-02-20 21:41:56 -05:00
parent 8cfa6e9d83
commit a3191227de
2 changed files with 7 additions and 1 deletions

View File

@@ -124,6 +124,12 @@ var ajaxify = {};
area.html(templates.prepare(area.html()).parse({
widgets: renderedWidgets
})).removeClass('hidden');
if (!renderedWidgets.length) {
$('body [no-widget-class]').each(function() {
this.className = this.getAttribute('no-widget-class');
});
}
next(err);
});