diff --git a/src/wp-content/themes/twentyseventeen/assets/js/global.js b/src/wp-content/themes/twentyseventeen/assets/js/global.js index 1f707b3384..af41bde05b 100644 --- a/src/wp-content/themes/twentyseventeen/assets/js/global.js +++ b/src/wp-content/themes/twentyseventeen/assets/js/global.js @@ -143,6 +143,8 @@ $( document ).ready( function() { // Let's fire some JavaScript! + setNavProps(); + if ( $menuScrollDown.length ) { /** @@ -162,7 +164,6 @@ } ); } ); - setNavProps(); adjustScrollClass(); }