# jetpack/16.3-a.7/modules/shortcodes/js/recipes.js

Jetpack – WP Security, Backup, Speed, &amp; Growth, version 16.3-a.7. 15 lines.

- Page: https://pluginprobe.com/plugins/jetpack/16.3-a.7/code/modules/shortcodes/js/recipes.js
- Raw: https://pluginprobe.com/plugins/jetpack/16.3-a.7/raw/modules/shortcodes/js/recipes.js
- Modified: 2020-07-28T17:06:48+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/jetpack/16.3-a.7/code/modules/shortcodes/js/recipes.js#L10-L20`.

```javascript
/* global jetpack_recipes_vars */
( 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,
			} );
		} );
	} );
} )( jQuery );

```
