diff options
-rw-r--r-- | view/theme/redbasic/js/redbasic.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js index 4b8a06812..999b46268 100644 --- a/view/theme/redbasic/js/redbasic.js +++ b/view/theme/redbasic/js/redbasic.js @@ -59,13 +59,12 @@ function makeFullScreen(full) { $('header, nav, aside, #fullscreen-btn').hide(); $('#tabs-collapse-1').css({'visibility': 'hidden'}); $('#inline-btn').show(); - } else { $('main').removeClass('fullscreen'); - $('header, nav, aside, #inline-btn').hide(); + $('header, nav, aside, #fullscreen-btn').show(); $('#tabs-collapse-1').css({'visibility': ''}); - $('#fullscreen-btn').show(); + $('#inline-btn').hide(); $('main').css({'transition': ''}); } } |