aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-07-11 12:49:53 +0200
committerMario Vavti <mario@mariovavti.com>2016-07-11 12:49:53 +0200
commitd5afd0d7c223161b673dca529830be3bfc739cd2 (patch)
treed36b16387b9b5ced13c7b08d7d8d87f2fbf470d8 /view/theme/redbasic
parente2574cf069dc29b1e8ca6bd64ee78b262206cef4 (diff)
downloadvolse-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.js6
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': ''});
}
}