Avoid adjusting the current submenu position when tabbing through the admin menu.

Fixes #30349
Props 5um17


git-svn-id: https://develop.svn.wordpress.org/trunk@30352 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2014-11-16 02:21:30 +00:00
parent 97910f325d
commit b4f9310fa6
1 changed files with 1 additions and 1 deletions

View File

@ -355,7 +355,7 @@ $(document).ready( function() {
}
$( event.target ).closest( 'li.menu-top' ).removeClass( 'opensub' );
}).find( 'li.wp-has-submenu' ).on( 'focusin.adminmenu', function() {
}).find( 'li.wp-has-submenu.wp-not-current-submenu' ).on( 'focusin.adminmenu', function() {
adjustSubmenu( $( this ) );
});
}