Skip to content

Commit

Permalink
[base] global nav, tweaking
Browse files Browse the repository at this point in the history
  • Loading branch information
Danny Evenwel committed Mar 22, 2017
1 parent a9265c2 commit 7cbbd7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/mod_ginger_base/lib/js/global-nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
}

//Clicked outside of menu
if ($target.closest('[class*="global-nav__inner"]').size() == 0) {
if ($target.closest('[class*="global-nav"]').size() == 0) {
if (isOpen) {
me._closeMenu(event);
event.preventDefault();
Expand Down

0 comments on commit 7cbbd7f

Please sign in to comment.