diff options
author | friendica <info@friendica.com> | 2014-03-29 00:04:06 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-03-29 00:04:06 -0700 |
commit | 7ed177c7cde9e987c18d3f0c0b5b3fc6e371c814 (patch) | |
tree | c619ecb923ddd9643e467f6aa48243a787159720 /view | |
parent | 86ec665565059a6db97d598ebb7c9dba94f96d56 (diff) | |
download | volse-hubzilla-7ed177c7cde9e987c18d3f0c0b5b3fc6e371c814.tar.gz volse-hubzilla-7ed177c7cde9e987c18d3f0c0b5b3fc6e371c814.tar.bz2 volse-hubzilla-7ed177c7cde9e987c18d3f0c0b5b3fc6e371c814.zip |
check that aside actually exists before querying the html length
Diffstat (limited to 'view')
-rw-r--r-- | view/theme/redbasic/js/redbasic.js | 2 |
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(); } |