Make WordPress Core


Ignore:
Timestamp:
09/20/2012 04:28:27 PM (12 years ago)
Author:
lancewillett
Message:

Twenty Twelve: update navigation script to check for missing button and menu children earlier; allows an empty menu to be set without showing the button. See #21678.

File:
1 edited

Legend:

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

    r21886 r21929  
    9999     * Adds JavaScript for handling the navigation menu hide-and-show behavior.
    100100     */
    101     wp_enqueue_script( 'twentytwelve-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20120824', true );
     101    wp_enqueue_script( 'twentytwelve-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20120920', true );
    102102
    103103    /*
Note: See TracChangeset for help on using the changeset viewer.