Index: wp-content/themes/twentyfourteen/js/functions.js
===================================================================
--- wp-content/themes/twentyfourteen/js/functions.js	(Revision 27877)
+++ wp-content/themes/twentyfourteen/js/functions.js	(Arbeitskopie)
@@ -88,7 +88,7 @@
 				mastheadOffset = $( '#masthead' ).offset().top - toolbarOffset;
 
 				_window.on( 'scroll.twentyfourteen', function() {
-					if ( ( window.scrollY > mastheadOffset ) && ( mastheadHeight < 49 ) ) {
+					if ( ( $( window ).scrollTop() > mastheadOffset ) && ( mastheadHeight < 49 ) ) {
 						body.addClass( 'masthead-fixed' );
 					} else {
 						body.removeClass( 'masthead-fixed' );
