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:
parent
3103b1ac78
commit
a6df2cced5
|
@ -143,6 +143,8 @@
|
|||
$( document ).ready( function() {
|
||||
|
||||
// Let's fire some JavaScript!
|
||||
setNavProps();
|
||||
|
||||
if ( $menuScrollDown.length ) {
|
||||
|
||||
/**
|
||||
|
@ -162,7 +164,6 @@
|
|||
} );
|
||||
} );
|
||||
|
||||
setNavProps();
|
||||
adjustScrollClass();
|
||||
}
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue