Changeset 3415
- Timestamp:
- 06/17/2016 01:19:19 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/js/section-accordion.js
r3410 r3415 6 6 7 7 $( '#' + sectionId ).toggleClass( 'toggled' ).attr( 'aria-expanded', function( index, attribute ) { 8 return 'false' === attribute; 8 var notExpanded = 'false' === attribute; 9 10 if ( notExpanded ) { 11 _gaq.push(['_trackPageview', window.location.pathname + sectionId + '/' ]); 12 } 13 14 return notExpanded; 9 15 } ); 10 16 11 17 $( '.read-more:not( #' + sectionId + ')' ).removeClass( 'toggled' ).attr( 'aria-expanded', false ); 12 13 _gaq.push(['_trackPageview', window.location.pathname + sectionId + '/' ]);14 18 } ); 15 19 } );
Note: See TracChangeset
for help on using the changeset viewer.