Make WordPress Core

Changeset 30352


Ignore:
Timestamp:
11/16/2014 02:21:30 AM (10 years ago)
Author:
johnbillion
Message:

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

Fixes #30349
Props 5um17

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/common.js

    r29978 r30352  
    356356
    357357            $( event.target ).closest( 'li.menu-top' ).removeClass( 'opensub' );
    358         }).find( 'li.wp-has-submenu' ).on( 'focusin.adminmenu', function() {
     358        }).find( 'li.wp-has-submenu.wp-not-current-submenu' ).on( 'focusin.adminmenu', function() {
    359359            adjustSubmenu( $( this ) );
    360360        });
Note: See TracChangeset for help on using the changeset viewer.