diff options
Diffstat (limited to 'view/theme/redbasic/js/redbasic.js')
-rw-r--r-- | view/theme/redbasic/js/redbasic.js | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js index 300f076f0..999b46268 100644 --- a/view/theme/redbasic/js/redbasic.js +++ b/view/theme/redbasic/js/redbasic.js @@ -56,16 +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': ''}); + $('header, nav, aside, #fullscreen-btn').show(); + $('#tabs-collapse-1').css({'visibility': ''}); $('#inline-btn').hide(); - $('#fullscreen-btn').show(); $('main').css({'transition': ''}); } } |