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