Make WordPress Core


Ignore:
Timestamp:
03/19/2014 05:28:24 AM (11 years ago)
Author:
lancewillett
Message:

Twenty Twelve: improve menu navigation for keyboard and voice-over interactions by properly focusing on submenu items when they are open. See #24839, props dannydehaan, joedolson, lancewillett.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwelve/functions.php

    r27599 r27606  
    141141
    142142    // Adds JavaScript for handling the navigation menu hide-and-show behavior.
    143     wp_enqueue_script( 'twentytwelve-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '1.0', true );
     143    wp_enqueue_script( 'twentytwelve-navigation', get_template_directory_uri() . '/js/navigation.js', array( 'jquery' ), '20140318', true );
    144144
    145145    $font_url = twentytwelve_get_font_url();
Note: See TracChangeset for help on using the changeset viewer.