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.


git-svn-id: https://develop.svn.wordpress.org/trunk@38964 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
David A. Kennedy 2016-10-26 17:38:59 +00:00
parent cd910cffdc
commit 16768b39cf

View File

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