Skip to content

Commit

Permalink
Merge pull request #231 from DesignMitZweiS/master
Browse files Browse the repository at this point in the history
fix: dropdown menu links not clickable on ipad
  • Loading branch information
Jeremy Englert committed Mar 12, 2017
2 parents fa2a7b0 + 73b4d41 commit 7cb22eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/functions/menu.php
Expand Up @@ -12,7 +12,7 @@ function joints_top_nav() {
wp_nav_menu(array(
'container' => false, // Remove nav container
'menu_class' => 'vertical medium-horizontal menu', // Adding custom nav class
'items_wrap' => '<ul id="%1$s" class="%2$s" data-responsive-menu="accordion medium-dropdown">%3$s</ul>',
'items_wrap' => '<ul id="%1$s" class="%2$s" data-responsive-menu="accordion medium-dropdown" data-close-on-click-inside="false">%3$s</ul>',
'theme_location' => 'main-nav', // Where it's located in the theme
'depth' => 5, // Limit the depth of the nav
'fallback_cb' => false, // Fallback function (see below)
Expand Down Expand Up @@ -85,4 +85,4 @@ function required_active_nav_class( $classes, $item ) {
}
return $classes;
}
add_filter( 'nav_menu_css_class', 'required_active_nav_class', 10, 2 );
add_filter( 'nav_menu_css_class', 'required_active_nav_class', 10, 2 );

0 comments on commit 7cb22eb

Please sign in to comment.