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:
parent
281a929663
commit
afd0dd5ece
|
@ -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
Loading…
Reference in New Issue