diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-07-16 10:56:46 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-07-16 10:56:46 +0200 |
commit | 641029ab180dcd8a31c0971563007f76f5151ee7 (patch) | |
tree | 4a03a714cd36319009977554bccde3b495cc6053 /view/theme/redbasic/js | |
parent | 065ef29de2e43419d650f582d00fbc4b8e8d81f2 (diff) | |
download | volse-hubzilla-641029ab180dcd8a31c0971563007f76f5151ee7.tar.gz volse-hubzilla-641029ab180dcd8a31c0971563007f76f5151ee7.tar.bz2 volse-hubzilla-641029ab180dcd8a31c0971563007f76f5151ee7.zip |
hide/show mixup
Diffstat (limited to 'view/theme/redbasic/js')
-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': ''}); } } |