Ticket #21283: 21283.12.diff

File 21283.12.diff, 548 bytes (added by lessbloat, 6 months ago)
  • wp-admin/js/customize-controls.js

     
    104104                                if (!toggleFreeze) 
    105105                                        control.container.toggleClass('open'); 
    106106 
     107                                if ( control.container.hasClass('open') ) 
     108                                        control.container.parent().parent().find('li.library-selected').focus(); 
     109 
    107110                                // Don't want to fire focus and click at same time 
    108111                                toggleFreeze = true; 
    109112                                setTimeout(function () {