diff --git a/public/src/widgets.js b/public/src/widgets.js
index 00bad7ffe6..c82a0cd829 100644
--- a/public/src/widgets.js
+++ b/public/src/widgets.js
@@ -43,8 +43,8 @@
if (location === 'footer') {
$('#content').append($('
'));
} else if (location === 'sidebar') {
- $('#content > *').wrapAll($(''));
- $('#content').append($(''));
+ $('#content > *').wrapAll($(''));
+ $('#content').append($(''));
}
area = $('#content [widget-area="' + location + '"]');