twitter/bootstrap — Issue #2001: Preventing Default on bootstrap-collapse.js
Author: jschutt
Created: 2012-02-15 22:07:14+00:00
State: open

I've been trying to get a stacked pill nav list to work with a collapse but I'm not having any luck. The collapse appears to be working fine, however it isn't preventing the default link action. So while the collapse is showing and hiding, it is reloading the page using the "#anchor" text.

Out of curiosity I copied the code from the docs for the collapse and it worked fine on my page. So it appears that collapse.js doesn't like working with the nav-stacked version.

Here is my menu:

Home

Home Page Sub Link

Home Page Sub Link

Home Page Sub Link

Does this question make sense or should I provide more details?