1
1
/**
2
2
* ----------------------------------------------------------------------------
3
- * Copyright (c) 2013 - Damián Avila
3
+ * Copyright (c) 2013 - Damián Avila
4
4
* Copyright (c) 2015 - Joshua Cooke Barnes (jcb91)
5
5
*
6
6
* Distributed under the terms of the Modified BSD License.
@@ -62,12 +62,12 @@ define([
62
62
63
63
64
64
// Remove zenmode css settings only when changes were made.
65
- if ( backgrounds . length != 0 ) {
66
- $ ( 'body' ) . css ( {
67
- 'background-image' : 'none'
68
- } )
69
- }
70
-
65
+ if ( backgrounds . length != 0 ) {
66
+ $ ( 'body' ) . css ( {
67
+ 'background-image' : 'none'
68
+ } )
69
+ }
70
+
71
71
// This should be changed at some point in the future to preserve non-zenmode visibility settings
72
72
$ ( menu_pattern ) . toggle ( true ) ;
73
73
$ ( header_pattern ) . toggle ( true ) ;
@@ -88,20 +88,20 @@ define([
88
88
background = requirejs . toUrl ( "./images/" + background ) ;
89
89
}
90
90
91
- // Apply zenmode css when there are images to be used.
92
- if ( backgrounds . length != 0 ) {
93
- $ ( 'body' ) . css ( {
94
- 'background-image' : 'url(' + background + ')' ,
95
- 'background-repeat' : 'no-repeat' ,
96
- 'background-position' : 'center center' ,
97
- 'background-attachment' : 'fixed' ,
98
- '-webkit-background-size' : 'cover' ,
99
- '-moz-background-size' : 'cover' ,
100
- '-o-background-size' : 'cover' ,
101
- 'background-size' : 'cover'
102
- } ) ;
103
- }
104
-
91
+ // Apply zenmode css when there are images to be used.
92
+ if ( backgrounds . length != 0 ) {
93
+ $ ( 'body' ) . css ( {
94
+ 'background-image' : 'url(' + background + ')' ,
95
+ 'background-repeat' : 'no-repeat' ,
96
+ 'background-position' : 'center center' ,
97
+ 'background-attachment' : 'fixed' ,
98
+ '-webkit-background-size' : 'cover' ,
99
+ '-moz-background-size' : 'cover' ,
100
+ '-o-background-size' : 'cover' ,
101
+ 'background-size' : 'cover'
102
+ } ) ;
103
+ }
104
+
105
105
if ( hide_menubar )
106
106
{ $ ( menu_pattern ) . toggle ( false ) ; }
107
107
if ( hide_header )
0 commit comments