diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-07-11 12:49:53 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-07-11 12:49:53 +0200 |
commit | d5afd0d7c223161b673dca529830be3bfc739cd2 (patch) | |
tree | d36b16387b9b5ced13c7b08d7d8d87f2fbf470d8 /view/theme/redbasic | |
parent | e2574cf069dc29b1e8ca6bd64ee78b262206cef4 (diff) | |
download | volse-hubzilla-d5afd0d7c223161b673dca529830be3bfc739cd2.tar.gz volse-hubzilla-d5afd0d7c223161b673dca529830be3bfc739cd2.tar.bz2 volse-hubzilla-d5afd0d7c223161b673dca529830be3bfc739cd2.zip |
do not use visibility for fullscreen button and move fullscreen button to the right
Diffstat (limited to 'view/theme/redbasic')
-rw-r--r-- | view/theme/redbasic/js/redbasic.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js index 5209ad945..300f076f0 100644 --- a/view/theme/redbasic/js/redbasic.js +++ b/view/theme/redbasic/js/redbasic.js @@ -56,14 +56,16 @@ $(document).ready(function() { function makeFullScreen(full) { if(typeof full=='undefined' || full == true) { $('main').css({'transition': 'none'}).addClass('fullscreen'); - $('#fullscreen-btn, header, nav, aside, #tabs-collapse-1').css({'visibility': 'hidden'}); + $('header, nav, aside, #tabs-collapse-1').css({'visibility': 'hidden'}); + $('#fullscreen-btn').hide(); $('#inline-btn').show(); } else { $('main').removeClass('fullscreen'); - $('#fullscreen-btn, header, nav, aside, #tabs-collapse-1').css({'visibility': ''}); + $('header, nav, aside, #tabs-collapse-1').css({'visibility': ''}); $('#inline-btn').hide(); + $('#fullscreen-btn').show(); $('main').css({'transition': ''}); } } |