Skip to content Skip to sidebar Skip to footer

Bootstrap 3 After Navbar Collapse, Toggle Wont Reopen Nav

I was trying to solve an issue where when I clicked on a navbar menu item in mobile view the navbar remained expanded. this didn't work for me as my menu item was pointing to a div

Solution 1:

Change the collapse parameter from hide to toggle.

$(this).collapse('toggle');

See more at bootstrap docs.

Post a Comment for "Bootstrap 3 After Navbar Collapse, Toggle Wont Reopen Nav"