diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-03-12 21:11:28 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-03-12 21:11:28 +0100 |
commit | 8aabc6bc3dfccb85f44b5db4708a756124277e1e (patch) | |
tree | f14531513d44fdf0d181cdef8731ce1a908f2b9d /view/theme/redbasic/js | |
parent | d9ecca859150f9e9e4213eded9e3f8a69e57f4be (diff) | |
download | volse-hubzilla-8aabc6bc3dfccb85f44b5db4708a756124277e1e.tar.gz volse-hubzilla-8aabc6bc3dfccb85f44b5db4708a756124277e1e.tar.bz2 volse-hubzilla-8aabc6bc3dfccb85f44b5db4708a756124277e1e.zip |
many dropdown and class fixes. still a long way to go...
Diffstat (limited to 'view/theme/redbasic/js')
-rw-r--r-- | view/theme/redbasic/js/redbasic.js | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js index 81a95c68b..1ed5e520f 100644 --- a/view/theme/redbasic/js/redbasic.js +++ b/view/theme/redbasic/js/redbasic.js @@ -40,21 +40,17 @@ $(document).ready(function() { left_aside_height = $('#left_aside_wrapper').height(); } }); - - if($('#left_aside_wrapper').length && $('#left_aside_wrapper').html().length === 0) { - $('#expand-aside').hide(); - } - +/* $('#expand-tabs').click(function() { - if(!$('#tabs-collapse-1').hasClass('in')){ - $('html, body').animate({ scrollTop: 0 }, 'slow'); + if($('#tabs-collapse-1').hasClass('show')){ + $('#tabs-collapse-1').removeClass('show'); } $('#expand-tabs-icon').toggleClass('fa-arrow-circle-down').toggleClass('fa-arrow-circle-up'); }); - - $('.usermenu-head').click(function() { - if($('#navbar-collapse-1, #navbar-collapse-2').hasClass('in')){ - $('#navbar-collapse-1, #navbar-collapse-2').removeClass('in'); +*/ + $('.usermenu').click(function() { + if($('#navbar-collapse-1, #navbar-collapse-2').hasClass('show')){ + $('#navbar-collapse-1, #navbar-collapse-2').removeClass('show'); } }); |