aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/js/redbasic.js
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-07-01 12:58:15 +0200
committerMario Vavti <mario@mariovavti.com>2016-07-01 12:58:15 +0200
commit0a119913406db6604ab6d44b53fdb1f07313db84 (patch)
tree5ba002442afb8ec75ca197288d841fbc44e42372 /view/theme/redbasic/js/redbasic.js
parent7371e0862543922b65eac920e128ca4ef1348b13 (diff)
downloadvolse-hubzilla-0a119913406db6604ab6d44b53fdb1f07313db84.tar.gz
volse-hubzilla-0a119913406db6604ab6d44b53fdb1f07313db84.tar.bz2
volse-hubzilla-0a119913406db6604ab6d44b53fdb1f07313db84.zip
use visibility instead of display to hide elements
Diffstat (limited to 'view/theme/redbasic/js/redbasic.js')
-rw-r--r--view/theme/redbasic/js/redbasic.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js
index 58c2a9ceb..5209ad945 100644
--- a/view/theme/redbasic/js/redbasic.js
+++ b/view/theme/redbasic/js/redbasic.js
@@ -56,13 +56,13 @@ $(document).ready(function() {
function makeFullScreen(full) {
if(typeof full=='undefined' || full == true) {
$('main').css({'transition': 'none'}).addClass('fullscreen');
- $('#fullscreen-btn, header, nav, aside').css({'display': 'none'});
+ $('#fullscreen-btn, header, nav, aside, #tabs-collapse-1').css({'visibility': 'hidden'});
$('#inline-btn').show();
}
else {
$('main').removeClass('fullscreen');
- $('#fullscreen-btn, header, nav, aside').css({'display': ''});
+ $('#fullscreen-btn, header, nav, aside, #tabs-collapse-1').css({'visibility': ''});
$('#inline-btn').hide();
$('main').css({'transition': ''});
}