Skip to content

Commit

Permalink
Merge pull request #3 from Monkee-Boy/dev
Browse files Browse the repository at this point in the history
Removing javascript to footer...
  • Loading branch information
fleeting committed Jul 23, 2019
2 parents b6d8bef + 34107d3 commit c24b895
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ function js_to_footer() {
remove_action('wp_head', 'wp_print_head_scripts', 9);
remove_action('wp_head', 'wp_enqueue_scripts', 1);
}
add_action('wp_enqueue_scripts', __NAMESPACE__ . '\js_to_footer');
/* Gravity Forms doesn't like it when jQuery is in the footer. Need to rework this. */
//add_action('wp_enqueue_scripts', __NAMESPACE__ . '\js_to_footer');

/**
* Disable the emoji's
Expand Down

0 comments on commit c24b895

Please sign in to comment.