summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/modules/theme-tools/content-options/customizer.js')
-rw-r--r--plugins/jetpack/modules/theme-tools/content-options/customizer.js26
1 files changed, 13 insertions, 13 deletions
diff --git a/plugins/jetpack/modules/theme-tools/content-options/customizer.js b/plugins/jetpack/modules/theme-tools/content-options/customizer.js
index afe7b492..5e383bc3 100644
--- a/plugins/jetpack/modules/theme-tools/content-options/customizer.js
+++ b/plugins/jetpack/modules/theme-tools/content-options/customizer.js
@@ -8,9 +8,9 @@
* Contains handlers to make Theme Customizer preview reload changes asynchronously.
*/
-( function( $ ) {
+( function ( $ ) {
// Blog Display
- wp.customize( 'jetpack_content_blog_display', function( value ) {
+ wp.customize( 'jetpack_content_blog_display', function ( value ) {
if ( 'content' === blogDisplay.display ) {
$( '.jetpack-blog-display.jetpack-the-excerpt' ).css( {
clip: 'rect(1px, 1px, 1px, 1px)',
@@ -47,7 +47,7 @@
position: 'relative',
} );
}
- value.bind( function( to ) {
+ value.bind( function ( to ) {
if ( 'content' === to ) {
$( '.jetpack-blog-display.jetpack-the-excerpt' ).css( {
clip: 'rect(1px, 1px, 1px, 1px)',
@@ -91,8 +91,8 @@
} );
// Post Details: Date.
- wp.customize( 'jetpack_content_post_details_date', function( value ) {
- value.bind( function( to ) {
+ wp.customize( 'jetpack_content_post_details_date', function ( value ) {
+ value.bind( function ( to ) {
if ( false === to ) {
$( postDetails.date ).css( {
clip: 'rect(1px, 1px, 1px, 1px)',
@@ -116,8 +116,8 @@
} );
// Post Details: Categories.
- wp.customize( 'jetpack_content_post_details_categories', function( value ) {
- value.bind( function( to ) {
+ wp.customize( 'jetpack_content_post_details_categories', function ( value ) {
+ value.bind( function ( to ) {
if ( false === to ) {
$( postDetails.categories ).css( {
clip: 'rect(1px, 1px, 1px, 1px)',
@@ -141,8 +141,8 @@
} );
// Post Details: Tags.
- wp.customize( 'jetpack_content_post_details_tags', function( value ) {
- value.bind( function( to ) {
+ wp.customize( 'jetpack_content_post_details_tags', function ( value ) {
+ value.bind( function ( to ) {
if ( false === to ) {
$( postDetails.tags ).css( {
clip: 'rect(1px, 1px, 1px, 1px)',
@@ -166,8 +166,8 @@
} );
// Post Details: Author.
- wp.customize( 'jetpack_content_post_details_author', function( value ) {
- value.bind( function( to ) {
+ wp.customize( 'jetpack_content_post_details_author', function ( value ) {
+ value.bind( function ( to ) {
if ( false === to ) {
$( postDetails.author ).css( {
clip: 'rect(1px, 1px, 1px, 1px)',
@@ -191,8 +191,8 @@
} );
// Post Details: Comment link.
- wp.customize( 'jetpack_content_post_details_comment', function( value ) {
- value.bind( function( to ) {
+ wp.customize( 'jetpack_content_post_details_comment', function ( value ) {
+ value.bind( function ( to ) {
if ( false === to ) {
$( postDetails.comment ).css( {
clip: 'rect(1px, 1px, 1px, 1px)',