Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Navbar toggle button opens then immediately closes

I have a site using Bootstrap.

When the window size reduces to mobile, the Navbar menu correctly collapses to the usual hamburger (3-stripe) button.

My problem is that when I click this button to open the menu, it opens, but then immediately collapses again.

like image 401
Shawn de Wet Avatar asked Mar 20 '16 06:03

Shawn de Wet


1 Answers

I was using a bootstrap 2.x CSS file, along with a bootstrap 3.x js file.

like image 179
Shawn de Wet Avatar answered Sep 30 '22 23:09

Shawn de Wet