Ticket #26639: 26639.6.diff
File 26639.6.diff, 1.5 KB (added by , 11 years ago) |
---|
-
src/wp-admin/js/common.js
571 571 572 572 $( this ).parent( 'li' ).toggleClass( 'selected' ); 573 573 event.preventDefault(); 574 }).on( 'focusin.wp-responsive', function() { 575 if ( $adminmenu.data('wp-responsive') ) { 576 $wpwrap.addClass( 'wp-responsive-open' ); 577 } 578 }).on( 'focusout.wp-responsive', function() { 579 if ( $adminmenu.data('wp-responsive') ) { 580 $wpwrap.removeClass( 'wp-responsive-open' ); 581 } 582 }).find( 'a.wp-has-submenu' ).on( 'focus.wp-responsive-focus', function() { 583 // Open the submenu. 584 // This can be made to toggle the submenus, however there is a weird bug in Firefox: 585 // each other tab focuses the body instead of the next <a>... 586 $(this).parent('li').addClass( 'selected' ); 574 587 }); 575 588 576 589 self.trigger(); -
src/wp-includes/admin-bar.php
166 166 if ( is_admin() ) { 167 167 $wp_admin_bar->add_menu( array( 168 168 'id' => 'menu-toggle', 169 'title' => '<span class="ab-icon"></span> ',169 'title' => '<span class="ab-icon"></span><span class="screen-reader-text">' . __( 'Menu' ) . '</span>', 170 170 'href' => '#', 171 'meta' => array(172 'title' => __( 'Menu' ),173 ),174 171 ) ); 175 172 } 176 173 }