diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-07-16 10:52:06 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-07-16 10:52:06 +0200 |
commit | 065ef29de2e43419d650f582d00fbc4b8e8d81f2 (patch) | |
tree | 31020d52a68b25f6c77bee88edf84ba3703b65a1 /view/theme/redbasic | |
parent | aac0fa2b5fb4f81a567a782bb6bafce7e46fe19e (diff) | |
download | volse-hubzilla-065ef29de2e43419d650f582d00fbc4b8e8d81f2.tar.gz volse-hubzilla-065ef29de2e43419d650f582d00fbc4b8e8d81f2.tar.bz2 volse-hubzilla-065ef29de2e43419d650f582d00fbc4b8e8d81f2.zip |
only use visibility for tabs
Diffstat (limited to 'view/theme/redbasic')
-rw-r--r-- | view/theme/redbasic/js/redbasic.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js index 300f076f0..4b8a06812 100644 --- a/view/theme/redbasic/js/redbasic.js +++ b/view/theme/redbasic/js/redbasic.js @@ -56,15 +56,15 @@ $(document).ready(function() { function makeFullScreen(full) { if(typeof full=='undefined' || full == true) { $('main').css({'transition': 'none'}).addClass('fullscreen'); - $('header, nav, aside, #tabs-collapse-1').css({'visibility': 'hidden'}); - $('#fullscreen-btn').hide(); + $('header, nav, aside, #fullscreen-btn').hide(); + $('#tabs-collapse-1').css({'visibility': 'hidden'}); $('#inline-btn').show(); } else { $('main').removeClass('fullscreen'); - $('header, nav, aside, #tabs-collapse-1').css({'visibility': ''}); - $('#inline-btn').hide(); + $('header, nav, aside, #inline-btn').hide(); + $('#tabs-collapse-1').css({'visibility': ''}); $('#fullscreen-btn').show(); $('main').css({'transition': ''}); } |