Skip to content

Commit

Permalink
fix #1468
Browse files Browse the repository at this point in the history
  • Loading branch information
inc2734 committed Feb 11, 2025
1 parent 9af3eee commit d83fb52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/setup/nav-menus.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @package snow-monkey
* @author inc2734
* @license GPL-2.0+
* @version 25.4.6
* @version 28.0.3
*/

use Framework\Helper;
Expand Down Expand Up @@ -71,7 +71,7 @@ function () {
wp_enqueue_script( Helper::get_main_script_handle() . '-footer-sticky-nav' );
}

if ( has_nav_menu( 'global-nav' ) ) {
if ( has_nav_menu( 'global-nav' ) || has_nav_menu( 'drop-nav' ) ) {
wp_enqueue_script( Helper::get_main_script_handle() . '-global-nav' );
}
},
Expand Down

0 comments on commit d83fb52

Please sign in to comment.