Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #33228, comment 1


Ignore:
Timestamp:
08/01/2015 01:34:33 PM (9 years ago)
Author:
afercia
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33228, comment 1

    initial v1  
    1 The proposed patch tries to use JavaScript to move focus to the Customizer only when necessary, i.e. when the customizer loaded is used. The initial focus is moved on the overlay container, in a similar way WordPress already does for some modal dialogs.
     1The proposed patch tries to use JavaScript to move focus to the Customizer only when necessary, i.e. when the customizer loader is used. The initial focus is moved on the overlay container, in a similar way WordPress already does for some modal dialogs.
    22No more need for `setTimeout()`, just use the customizer loader `loaded()` callback.