WordPress.org

Make WordPress Core

Ticket #42052: 42052.5diff

File 42052.5diff, 489 bytes (added by sayedwp, 2 years ago)
Line 
1diff --git src/wp-admin/js/customize-controls.js src/wp-admin/js/customize-controls.js
2index 7b275b4d60..ec9d917691 100644
3--- src/wp-admin/js/customize-controls.js
4+++ src/wp-admin/js/customize-controls.js
5@@ -2523,6 +2523,7 @@
6                        section.$body.removeClass( 'modal-open' );
7                        section.overlay.fadeOut( 'fast' );
8                        api.control( section.params.action + '_theme_' + section.currentTheme ).container.find( '.theme' ).focus();
9+                       section.container.get(0).scrollIntoView();
10                },
11 
12                /**