Ticket #30056: 30056.diff
File 30056.diff, 2.0 KB (added by , 10 years ago) |
---|
-
wp-content/themes/twentyfifteen/functions.php
207 207 wp_enqueue_style( 'twentyfifteen-ie7', get_template_directory_uri() . '/css/ie7.css', array( 'twentyfifteen-style' ), '20141010' ); 208 208 wp_style_add_data( 'twentyfifteen-ie7', 'conditional', 'lt IE 8' ); 209 209 210 wp_enqueue_script( 'twentyfifteen-js-check', get_template_directory_uri() . '/js/js-check.js', array(), '20141024', false ); 211 210 212 wp_enqueue_script( 'twentyfifteen-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20141010', true ); 211 213 212 214 if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { -
wp-content/themes/twentyfifteen/js/functions.js
6 6 */ 7 7 8 8 ( function( $ ) { 9 $( 'html' ).removeClass( 'no-js' );10 11 9 // Add dropdown toggle that display child menu items. 12 10 $( '.main-navigation .page_item_has_children > a, .main-navigation .menu-item-has-children > a' ).append( '<button class="dropdown-toggle" aria-expanded="false">' + screenReaderText.expand + '</button>' ); 13 11 -
wp-content/themes/twentyfifteen/js/js-check.js
1 ( function() { 2 document.documentElement.className = document.documentElement.className.replace( 'no-js', 'js' ); 3 } )(); 4 No newline at end of file