Changeset 4409 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/index.jsx
- Timestamp:
- 11/24/2016 01:06:59 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/index.jsx
r4400 r4409 8 8 var images = []; 9 9 for ( var i=0; i < elements.length; i++ ) { 10 var caption = elements[i].querySelector('figcaption'); 10 11 var item = { 11 12 src: elements[i].querySelector('img.screenshot').src, 12 caption: elements[i].querySelector('figcaption').textContent,13 caption: caption ? caption.textContent : '', 13 14 } 14 15 images.push( item );
Note: See TracChangeset
for help on using the changeset viewer.