Ticket #27220: 27220.diff
| File 27220.diff, 678 bytes (added by , 12 years ago) |
|---|
-
wp-content/themes/twentyfourteen/js/functions.js
88 88 mastheadOffset = $( '#masthead' ).offset().top - toolbarOffset; 89 89 90 90 _window.on( 'scroll.twentyfourteen', function() { 91 if ( ( window.scrollY> mastheadOffset ) && ( mastheadHeight < 49 ) ) {91 if ( ( $( window ).scrollTop() > mastheadOffset ) && ( mastheadHeight < 49 ) ) { 92 92 body.addClass( 'masthead-fixed' ); 93 93 } else { 94 94 body.removeClass( 'masthead-fixed' );
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)