|
|
|
@ -23,6 +23,7 @@
|
|
|
|
|
|
|
|
|
|
widgetsAtLocation.forEach(function (widget) {
|
|
|
|
|
html += widget.html;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
if (location === 'footer' && !$('#content [widget-area="footer"]').length) {
|
|
|
|
|
$('#content').append($('<div class="row"><div widget-area="footer" class="col-xs-12"></div></div>'));
|
|
|
|
@ -37,7 +38,6 @@
|
|
|
|
|
} else if (location === 'header' && !$('#content [widget-area="header"]').length) {
|
|
|
|
|
$('#content').prepend($('<div class="row"><div widget-area="header" class="col-xs-12"></div></div>'));
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
area = $('#content [widget-area="' + location + '"]');
|
|
|
|
|
if (html && area.length) {
|
|
|
|
|