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

Fixes #30349
Props 5um17

Built from https://develop.svn.wordpress.org/trunk@30352


git-svn-id: http://core.svn.wordpress.org/trunk@30351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn 2014-11-16 02:22:21 +00:00
parent 281a929663
commit afd0dd5ece
2 changed files with 2 additions and 2 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 ) );
});
}

File diff suppressed because one or more lines are too long