Ticket #25026: ticket25026.diff
| File ticket25026.diff, 636 bytes (added by , 12 years ago) |
|---|
-
wp-content/themes/twentyfourteen/js/theme.js
110 110 if ( $mastheadOffset < 0 ) 111 111 $mastheadOffset = $masthead.offset().top - $toolbarOffset; 112 112 113 if ( ( window.scrollY > =$mastheadOffset ) && ( $( window ).width() > 769 ) ) {113 if ( ( window.scrollY > $mastheadOffset ) && ( $( window ).width() > 769 ) ) { 114 114 $masthead.addClass( 'masthead-fixed' ); 115 115 $maindiv.css( { 116 116 marginTop: $masthead.height()