Update freelancer.js
Updated the responsive menu to auto-collapse when a menu item is clicked
This commit is contained in:
parent
00c16d81bf
commit
40f3f1d2ad
|
@ -29,4 +29,9 @@ $(function() {
|
||||||
// Highlight the top nav as scrolling occurs
|
// Highlight the top nav as scrolling occurs
|
||||||
$('body').scrollspy({
|
$('body').scrollspy({
|
||||||
target: '.navbar-fixed-top'
|
target: '.navbar-fixed-top'
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// Closes the Responsive Menu on Menu Item Click
|
||||||
|
$('.navbar-collapse ul li a').click(function() {
|
||||||
|
$('.navbar-toggle:visible').click();
|
||||||
|
});
|
||||||
|
|
Loading…
Reference in New Issue