Skip to content

Commit

Permalink
Use largo-modernizr as a dependency for new child navigation.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Darby committed Oct 31, 2019
1 parent 7375356 commit 953efee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-content/themes/citylimits/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ function register_citylimits_menu_locations() {
*/
function citylimits_enqueue_styles(){
wp_enqueue_style( 'dashicons' );
wp_enqueue_script( 'citylimits-navigation', get_stylesheet_directory_uri() . '/js/navigation.js', array( 'jquery' ), '1.0', true );
wp_enqueue_script( 'citylimits-navigation', get_stylesheet_directory_uri() . '/js/navigation.js', array( 'jquery', 'largo-modernizr' ), '1.0', true );
}
add_action( 'wp_enqueue_scripts', 'citylimits_enqueue_styles' );

Expand Down

0 comments on commit 953efee

Please sign in to comment.