Changeset 3862 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/widget-area/index.jsx
- Timestamp:
- 08/26/2016 07:58:01 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/widget-area/index.jsx
r3771 r3862 5 5 6 6 render() { 7 let classNames = [ 'widget-area' ]; 8 9 if ( this.props.router.isActive( '/', true ) ) { 10 classNames.push( 'home' ); 11 } 12 7 13 return ( 8 <aside id="secondary" className= "widget-area"role="complementary">14 <aside id="secondary" className={ classNames.join( ' ' ) } role="complementary"> 9 15 { this.props.children } 10 16 </aside>
Note: See TracChangeset
for help on using the changeset viewer.