mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 06:55:46 +01:00
closes #1080
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user