Skip to content

Commit

Permalink
Loading holiday snow in footer
Browse files Browse the repository at this point in the history
Loading the holiday snow feature in the footer. Better for page load speed.
  • Loading branch information
BFTrick authored and dereksmart committed Dec 16, 2016
1 parent fbc6d7c commit 82d2af4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/holiday-snow.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function jetpack_holiday_snow_script() {
* @param str URL to the holiday snow JavaScript file.
*/
$snowstorm_url = apply_filters( 'jetpack_holiday_snow_js_url', plugins_url( 'holiday-snow/snowstorm.js', __FILE__ ) );
wp_enqueue_script( 'snowstorm', $snowstorm_url, array(), '1.43.20111201' );
wp_enqueue_script( 'snowstorm', $snowstorm_url, array(), '1.43.20111201', true );
}

function jetpack_maybe_holiday_snow() {
Expand Down

0 comments on commit 82d2af4

Please sign in to comment.