mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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 ) );
|
||||
});
|
||||
}
|
||||
|
2
wp-admin/js/common.min.js
vendored
2
wp-admin/js/common.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user