Changeset 31934
- Timestamp:
- 03/30/2015 10:48:11 PM (10 years ago)
- Location:
- trunk/src/wp-content/themes/twentyfifteen
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyfifteen/functions.php
r31500 r31934 251 251 } 252 252 253 wp_enqueue_script( 'twentyfifteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '201 41212', true );253 wp_enqueue_script( 'twentyfifteen-script', get_template_directory_uri() . '/js/functions.js', array( 'jquery' ), '20150330', true ); 254 254 wp_localize_script( 'twentyfifteen-script', 'screenReaderText', array( 255 255 'expand' => '<span class="screen-reader-text">' . __( 'expand child menu', 'twentyfifteen' ) . '</span>', -
trunk/src/wp-content/themes/twentyfifteen/js/functions.js
r31814 r31934 81 81 // Sidebar scrolling. 82 82 function resize() { 83 windowWidth = $window.width(); 84 windowHeight = $window.height(); 85 bodyHeight = $body.height(); 86 sidebarHeight = $sidebar.height(); 83 windowWidth = $window.width(); 87 84 88 85 if ( 955 > windowWidth ) { … … 98 95 return; 99 96 } 97 98 sidebarHeight = $sidebar.height(); 99 windowHeight = $window.height(); 100 bodyHeight = $body.height(); 100 101 101 102 if ( sidebarHeight + adminbarOffset > windowHeight ) {
Note: See TracChangeset
for help on using the changeset viewer.