Skip to content

Commit

Permalink
update IIDO Page javascript file
Browse files Browse the repository at this point in the history
  • Loading branch information
pressi committed Dec 22, 2017
1 parent 77b5fb2 commit 020fc2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/public/javascript/jquery/iido/IIDO.Page.js
Original file line number Diff line number Diff line change
Expand Up @@ -1647,7 +1647,7 @@ IIDO.Page = IIDO.Page || {};

var listContainers = $mobileNav.find('li.submenu'), button, listItem;

$mobileNav.find("ul.level_1 > li > a,ul.level_2 > li > a").click( function() { IIDO.Page.closeMobileNavigation(); } );
$mobileNav.find("ul.level_1 > li > a,ul.level_2 > li > a").click( function() { if(!this.classList.contains("no-content")) { IIDO.Page.closeMobileNavigation(); } } );

if( listContainers.length )
{
Expand Down

0 comments on commit 020fc2b

Please sign in to comment.