Changeset 5454 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/build.jsx
- Timestamp:
- 05/01/2017 04:59:43 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/build.jsx
r5024 r5454 23 23 24 24 if ( images.length > 0 ) { 25 const temp = document.createElement( 'div'); 26 const container = document.querySelector( '.entry-content' ); 27 25 28 render( 26 29 <Screenshots screenshots={ images } />, 27 document.getElementById( 'screenshots' )30 temp 28 31 ); 32 33 container.replaceChild( temp.querySelector( '#screenshots' ), document.getElementById( 'screenshots' ) ); 29 34 }
Note: See TracChangeset
for help on using the changeset viewer.