revert outside menu click function
This commit is contained in:
parent
b26de4d203
commit
a6c56a25f1
@ -24,10 +24,3 @@ $('body').scrollspy({
|
|||||||
$('.navbar-collapse ul li a').click(function() {
|
$('.navbar-collapse ul li a').click(function() {
|
||||||
$('.navbar-toggle:visible').click();
|
$('.navbar-toggle:visible').click();
|
||||||
});
|
});
|
||||||
|
|
||||||
// Closes the Responsive Menu on Click outside Menu
|
|
||||||
$('body > *').not('nav').click(function() {
|
|
||||||
if(!$('button.navbar-toggle').hasClass('collapsed')) {
|
|
||||||
$('.navbar-toggle:visible').click();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
Loading…
Reference in New Issue
Block a user