diff options
author | marijus <mario@mariovavti.com> | 2014-03-25 15:27:45 +0100 |
---|---|---|
committer | marijus <mario@mariovavti.com> | 2014-03-25 15:27:45 +0100 |
commit | 89b573a6f3b7409ba9f8ba9fe41ed06b8106836b (patch) | |
tree | 4ec44719a881d675f62e2556507cdecc67c3fdf1 /view/theme/redbasic/js | |
parent | 50a7e9ce8fe30959d6e4343e8fdafaeca1e7856c (diff) | |
download | volse-hubzilla-89b573a6f3b7409ba9f8ba9fe41ed06b8106836b.tar.gz volse-hubzilla-89b573a6f3b7409ba9f8ba9fe41ed06b8106836b.tar.bz2 volse-hubzilla-89b573a6f3b7409ba9f8ba9fe41ed06b8106836b.zip |
fix lock permissions view and autoload not kicking in on touch devices under certain conditions
Diffstat (limited to 'view/theme/redbasic/js')
-rw-r--r-- | view/theme/redbasic/js/redbasic.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js index c58711e94..70869f44b 100644 --- a/view/theme/redbasic/js/redbasic.js +++ b/view/theme/redbasic/js/redbasic.js @@ -30,6 +30,9 @@ if ($('aside').html().length == 0) { } $('#expand-tabs').click(function() { + if(!$('#tabs-collapse-1').hasClass('in')){ + $('html, body').animate({ scrollTop: 0 }, 'slow'); + } $('#expand-tabs-icon').toggleClass('icon-circle-arrow-down').toggleClass('icon-circle-arrow-up'); }); |