aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/js/redbasic.js
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-04-03 18:00:03 +0200
committerMario Vavti <mario@mariovavti.com>2016-04-03 18:00:03 +0200
commitf13096a6f3b26d9e88dc0d6c07c63a1d5f75346e (patch)
treebb7d77143c43b8c25c6ffbf9e10cfe8d9984c77b /view/theme/redbasic/js/redbasic.js
parent53311a30ad5399e6e981aaab11ffa13af926a3d2 (diff)
downloadvolse-hubzilla-f13096a6f3b26d9e88dc0d6c07c63a1d5f75346e.tar.gz
volse-hubzilla-f13096a6f3b26d9e88dc0d6c07c63a1d5f75346e.tar.bz2
volse-hubzilla-f13096a6f3b26d9e88dc0d6c07c63a1d5f75346e.zip
various fixes
Diffstat (limited to 'view/theme/redbasic/js/redbasic.js')
-rw-r--r--view/theme/redbasic/js/redbasic.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js
index 73628ebd9..877bcd840 100644
--- a/view/theme/redbasic/js/redbasic.js
+++ b/view/theme/redbasic/js/redbasic.js
@@ -55,15 +55,13 @@ $(document).ready(function() {
function makeFullScreen(full) {
if(typeof full=='undefined' || full == true) {
- $('main').css({'transition': 'none', 'left': '0px', 'width': '100%', 'max-width': 'none'});
- $('.generic-content-wrapper').addClass('fullscreen');
+ $('main').css({'transition': 'none'}).addClass('fullscreen');
$('#fullscreen-btn, header, nav, aside').css({'display': 'none'});
$('#inline-btn').show();
}
else {
- $('main').css({'left': '', 'width': '', 'max-width': ''});
- $('.generic-content-wrapper').removeClass('fullscreen');
+ $('main').removeClass('fullscreen');
$('#fullscreen-btn, header, nav, aside').css({'display': ''});
$('#inline-btn').hide();
$('main').css({'transition': ''});