aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/js/redbasic.js
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-07-16 10:56:46 +0200
committerMario Vavti <mario@mariovavti.com>2016-07-16 10:56:46 +0200
commit641029ab180dcd8a31c0971563007f76f5151ee7 (patch)
tree4a03a714cd36319009977554bccde3b495cc6053 /view/theme/redbasic/js/redbasic.js
parent065ef29de2e43419d650f582d00fbc4b8e8d81f2 (diff)
downloadvolse-hubzilla-641029ab180dcd8a31c0971563007f76f5151ee7.tar.gz
volse-hubzilla-641029ab180dcd8a31c0971563007f76f5151ee7.tar.bz2
volse-hubzilla-641029ab180dcd8a31c0971563007f76f5151ee7.zip
hide/show mixup
Diffstat (limited to 'view/theme/redbasic/js/redbasic.js')
-rw-r--r--view/theme/redbasic/js/redbasic.js5
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': ''});
}
}