mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 23:15:48 +01:00
closes #1080
This commit is contained in:
@@ -124,6 +124,12 @@ var ajaxify = {};
|
|||||||
area.html(templates.prepare(area.html()).parse({
|
area.html(templates.prepare(area.html()).parse({
|
||||||
widgets: renderedWidgets
|
widgets: renderedWidgets
|
||||||
})).removeClass('hidden');
|
})).removeClass('hidden');
|
||||||
|
|
||||||
|
if (!renderedWidgets.length) {
|
||||||
|
$('body [no-widget-class]').each(function() {
|
||||||
|
this.className = this.getAttribute('no-widget-class');
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
next(err);
|
next(err);
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
<!-- ENDIF !topics.length -->
|
<!-- ENDIF !topics.length -->
|
||||||
|
|
||||||
<div class="category row">
|
<div class="category row">
|
||||||
<div class="{topic_row_size}">
|
<div class="{topic_row_size}" no-widget-class="col-lg-12 col-sm-12">
|
||||||
<ul id="topics-container" itemscope itemtype="http://www.schema.org/ItemList" data-nextstart="{nextStart}">
|
<ul id="topics-container" itemscope itemtype="http://www.schema.org/ItemList" data-nextstart="{nextStart}">
|
||||||
<meta itemprop="itemListOrder" content="descending">
|
<meta itemprop="itemListOrder" content="descending">
|
||||||
<!-- BEGIN topics -->
|
<!-- BEGIN topics -->
|
||||||
|
|||||||
Reference in New Issue
Block a user