diff options
author | Andrew Manning <tamanning@zoho.com> | 2016-11-03 21:01:18 -0400 |
---|---|---|
committer | Andrew Manning <tamanning@zoho.com> | 2016-11-03 21:01:18 -0400 |
commit | 8ac32cf4d60d1e0bf6e8afd81b37cb3503063140 (patch) | |
tree | d6953e69966e40fd54e8d729cd7f9624685bd007 /view | |
parent | b541351a0a52d156085b0f1e06079c1c2e409eb8 (diff) | |
download | volse-hubzilla-8ac32cf4d60d1e0bf6e8afd81b37cb3503063140.tar.gz volse-hubzilla-8ac32cf4d60d1e0bf6e8afd81b37cb3503063140.tar.bz2 volse-hubzilla-8ac32cf4d60d1e0bf6e8afd81b37cb3503063140.zip |
Collapse navbar-collapse-1 if avatar menu is clicked.
Diffstat (limited to 'view')
-rw-r--r-- | view/theme/redbasic/js/redbasic.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js index 999b46268..bdd6441f8 100644 --- a/view/theme/redbasic/js/redbasic.js +++ b/view/theme/redbasic/js/redbasic.js @@ -32,6 +32,12 @@ $(document).ready(function() { $('#expand-tabs-icon').toggleClass('fa-arrow-circle-down').toggleClass('fa-arrow-circle-up'); }); + $('#avatar').click(function() { + if($('#navbar-collapse-1').hasClass('in')){ + $('#navbar-collapse-1').removeClass('in'); + } + }); + if($('#tabs-collapse-1').length === 0) { $('#expand-tabs').hide(); } |