diff --git a/js/agency.js b/js/agency.js index cedc097..84d4caa 100644 --- a/js/agency.js +++ b/js/agency.js @@ -26,7 +26,7 @@ $('.navbar-collapse ul li a').click(function() { }); // Closes the Responsive Menu on Click outside Menu -$('header, section, aside, footer').click(function() { +$('body > *').not('nav').click(function() { if(!$('button.navbar-toggle').hasClass('collapsed')) { $('.navbar-toggle:visible').click(); }