Changeset 4376
- Timestamp:
- 11/18/2016 06:01:47 AM (8 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/functions.php
r4327 r4376 103 103 } 104 104 105 if ( isset( $_REQUEST['react'] ) ) {105 if ( !isset( $_REQUEST['noreact'] ) ) { 106 106 wp_enqueue_script( 'wporg-plugins-client', get_template_directory_uri() . '/js/theme.js', array(), false, true ); 107 107 wp_localize_script( 'wporg-plugins-client', 'app_data', array( -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/js/section-accordion.js
r4303 r4376 17 17 initial_size: function( selector ) { 18 18 $( selector ).each( function( i, el) { 19 if ( $(el).height() / el.scrollHeight > 0.8 ) {19 if ( $(el).height() / el.scrollHeight > 0.8 || el.id == 'screenshots' ) { 20 20 // Force the section to expand, and hide its button 21 21 $(el).toggleClass( 'toggled' ).addClass('short-content').attr( 'aria-expanded', true );
Note: See TracChangeset
for help on using the changeset viewer.