blob: 675b0b2dd74ae281f8bb7aead5cbc9fb80460c7d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* 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 );
|