aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme
diff options
context:
space:
mode:
Diffstat (limited to 'view/theme')
-rw-r--r--view/theme/redbasic/js/redbasic.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js
index 70869f44b..0aab42cd5 100644
--- a/view/theme/redbasic/js/redbasic.js
+++ b/view/theme/redbasic/js/redbasic.js
@@ -25,7 +25,7 @@ $('#expand-aside').click(function() {
$('main').toggleClass('region_1-on');
});
-if ($('aside').html().length == 0) {
+if($('aside').length && $('aside').html().length == 0) {
$('#expand-aside').hide();
}