summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/modules/shortcodes/js/recipes.js')
-rw-r--r--plugins/jetpack/modules/shortcodes/js/recipes.js16
1 files changed, 7 insertions, 9 deletions
diff --git a/plugins/jetpack/modules/shortcodes/js/recipes.js b/plugins/jetpack/modules/shortcodes/js/recipes.js
index 37215b4a..675b0b2d 100644
--- a/plugins/jetpack/modules/shortcodes/js/recipes.js
+++ b/plugins/jetpack/modules/shortcodes/js/recipes.js
@@ -1,16 +1,14 @@
/* global jetpack_recipes_vars */
-( function( $ ) {
- $( window ).load( function() {
- $( '.jetpack-recipe-print a' ).click( function( event ) {
+( function ( $ ) {
+ $( window ).load( function () {
+ $( '.jetpack-recipe-print a' ).click( function ( event ) {
event.preventDefault();
// Print the DIV.
- $( this )
- .closest( '.jetpack-recipe' )
- .printThis( {
- pageTitle: jetpack_recipes_vars.pageTitle,
- loadCSS: jetpack_recipes_vars.loadCSS,
- } );
+ $( this ).closest( '.jetpack-recipe' ).printThis( {
+ pageTitle: jetpack_recipes_vars.pageTitle,
+ loadCSS: jetpack_recipes_vars.loadCSS,
+ } );
} );
} );
} )( jQuery );