aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-11-03 21:01:18 -0400
committerAndrew Manning <tamanning@zoho.com>2016-11-03 21:01:18 -0400
commit8ac32cf4d60d1e0bf6e8afd81b37cb3503063140 (patch)
treed6953e69966e40fd54e8d729cd7f9624685bd007 /view/theme/redbasic
parentb541351a0a52d156085b0f1e06079c1c2e409eb8 (diff)
downloadvolse-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/theme/redbasic')
-rw-r--r--view/theme/redbasic/js/redbasic.js6
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();
}