Changeset 4652
- Timestamp:
- 01/13/2017 12:51:55 AM (9 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe
- Files:
-
- 3 edited
-
functions.php (modified) (1 diff)
-
js/chapters.js (modified) (1 diff)
-
style.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/functions.php
r4636 r4652 47 47 48 48 // Cacheing hack 49 wp_enqueue_style( 'wporg-breathe', get_stylesheet_uri(), array( 'p2-breathe' ), '2017011 2' );49 wp_enqueue_style( 'wporg-breathe', get_stylesheet_uri(), array( 'p2-breathe' ), '20170113' ); 50 50 } 51 51 add_action( 'wp_enqueue_scripts', __NAMESPACE__ . '\styles', 11 ); 52 52 53 53 function scripts() { 54 wp_enqueue_script( 'wporg-breathe-chapters', get_stylesheet_directory_uri() . '/js/chapters.js', array( 'jquery' ), '2017011 2' );54 wp_enqueue_script( 'wporg-breathe-chapters', get_stylesheet_directory_uri() . '/js/chapters.js', array( 'jquery' ), '20170113' ); 55 55 } 56 56 add_action( 'wp_enqueue_scripts', __NAMESPACE__ . '\scripts', 11 ); -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/js/chapters.js
r4628 r4652 14 14 .addClass( 'active' ) 15 15 .parents( '.menu-item-has-children' ) 16 .toggleClass( 'open' ) 17 .children( '.children' ) 18 .slideToggle(); 16 .toggleClass( 'open' ); 19 17 20 18 // Or if wrapped in a div.expandable -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/style.css
r4635 r4652 909 909 border-left: 5px solid #0073aa; 910 910 } 911 .menu-table-of-contents-container .current-menu-ancestor ul, 911 912 .menu-table-of-contents-container ul.default-open { 912 913 display: block !important;
Note: See TracChangeset
for help on using the changeset viewer.