diff --git a/src/wp-admin/js/customize-controls.js b/src/wp-admin/js/customize-controls.js
index 8ca8318..25145a1 100644
a
|
b
|
|
1267 | 1267 | |
1268 | 1268 | overlay.addClass( 'in-themes-panel' ); |
1269 | 1269 | section.addClass( 'current-panel' ); |
| 1270 | _.delay( panel.renderScreenshots, 10 ); // Wait for the controls |
| 1271 | panel.$customizeSidebar.on( 'scroll.customize-themes-section', _.throttle( panel.renderScreenshots, 300 ) ); |
1270 | 1272 | |
1271 | 1273 | } else if ( ! expanded && section.hasClass( 'current-panel' ) ) { |
1272 | 1274 | panel._animateChangeExpanded( function() { |
… |
… |
|
1283 | 1285 | |
1284 | 1286 | overlay.removeClass( 'in-themes-panel' ); |
1285 | 1287 | section.removeClass( 'current-panel' ); |
| 1288 | panel.$customizeSidebar.off( 'scroll.customize-themes-section' ); |
1286 | 1289 | } |
1287 | 1290 | }, |
1288 | 1291 | |