Twenty Seventeen: Fix header height on sub-pages.

Moves `setNavProps` so it's no longer only fired on load when the scroll down arrow is present.

Props laurelfulford.

Fixes #38496.

Built from https://develop.svn.wordpress.org/trunk@38964


git-svn-id: http://core.svn.wordpress.org/trunk@38907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
David A. Kennedy 2016-10-26 17:39:31 +00:00
parent 3103b1ac78
commit a6df2cced5
2 changed files with 3 additions and 2 deletions

View File

@ -143,6 +143,8 @@
$( document ).ready( function() {
// Let's fire some JavaScript!
setNavProps();
if ( $menuScrollDown.length ) {
/**
@ -162,7 +164,6 @@
} );
} );
setNavProps();
adjustScrollClass();
}

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.7-alpha-38963';
$wp_version = '4.7-alpha-38964';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.