aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-07-16 10:52:06 +0200
committerMario Vavti <mario@mariovavti.com>2016-07-16 10:52:06 +0200
commit065ef29de2e43419d650f582d00fbc4b8e8d81f2 (patch)
tree31020d52a68b25f6c77bee88edf84ba3703b65a1
parentaac0fa2b5fb4f81a567a782bb6bafce7e46fe19e (diff)
downloadvolse-hubzilla-065ef29de2e43419d650f582d00fbc4b8e8d81f2.tar.gz
volse-hubzilla-065ef29de2e43419d650f582d00fbc4b8e8d81f2.tar.bz2
volse-hubzilla-065ef29de2e43419d650f582d00fbc4b8e8d81f2.zip
only use visibility for tabs
-rw-r--r--view/theme/redbasic/js/redbasic.js8
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': ''});
}