Ticket #30056: 30056.2.diff
File 30056.2.diff, 1.2 KB (added by , 10 years ago) |
---|
-
src/wp-content/themes/twentyfifteen/header.php
19 19 <!--[if lt IE 9]> 20 20 <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js"></script> 21 21 <![endif]--> 22 <script>(function(H){H.className=H.className.replace(/(^|\s)no-js(\s|$)/,'$1$2')})(document.documentElement);</script> 22 23 <?php wp_head(); ?> 23 24 </head> 24 25 -
src/wp-content/themes/twentyfifteen/js/functions.js
8 8 ( function( $ ) { 9 9 var $body, $window, sidebar, toolbarOffset; 10 10 11 $( 'html' ).removeClass( 'no-js' );12 13 11 // Add dropdown toggle that display child menu items. 14 12 $( '.main-navigation .page_item_has_children > a, .main-navigation .menu-item-has-children > a' ).after( '<button class="dropdown-toggle" aria-expanded="false">' + screenReaderText.expand + '</button>' ); 15 13