Use === and !== instead of == and !=
This commit is contained in:
parent
79d69e7593
commit
4c99b2aba8
3 changed files with 10 additions and 10 deletions
|
@ -19,7 +19,7 @@
|
|||
// Header text color.
|
||||
wp.customize( 'header_textcolor', function( value ) {
|
||||
value.bind( function( to ) {
|
||||
if ( 'blank' == to ) {
|
||||
if ( 'blank' === to ) {
|
||||
$( '.site-title, .site-description' ).css( {
|
||||
'clip': 'rect(1px, 1px, 1px, 1px)',
|
||||
'position': 'absolute'
|
||||
|
@ -33,4 +33,4 @@
|
|||
}
|
||||
} );
|
||||
} );
|
||||
} )( jQuery );
|
||||
} )( jQuery );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue