Modified selector logic
This commit is contained in:
parent
3f694e4cb6
commit
b7447dd1a4
@ -26,7 +26,7 @@ $('.navbar-collapse ul li a').click(function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Closes the Responsive Menu on Click outside Menu
|
// 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')) {
|
if(!$('button.navbar-toggle').hasClass('collapsed')) {
|
||||||
$('.navbar-toggle:visible').click();
|
$('.navbar-toggle:visible').click();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user