WordPress.org

Make WordPress Themes


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • twentyseventeen/1.2/functions.php

    r71015 r75356  
    441441 
    442442    if ( has_nav_menu( 'top' ) ) { 
    443         wp_enqueue_script( 'twentyseventeen-navigation', get_theme_file_uri( '/assets/js/navigation.js' ), array(), '1.0', true ); 
     443        wp_enqueue_script( 'twentyseventeen-navigation', get_theme_file_uri( '/assets/js/navigation.js' ), array( 'jquery' ), '1.0', true ); 
    444444        $twentyseventeen_l10n['expand']         = __( 'Expand child menu', 'twentyseventeen' ); 
    445445        $twentyseventeen_l10n['collapse']       = __( 'Collapse child menu', 'twentyseventeen' ); 
Note: See TracChangeset for help on using the changeset viewer.