twitter/bootstrap — Issue #1846: Make .btn-group work as .tabbable
Author: BigBlueHat
Created: 2012-02-08 20:14:14+00:00
State: open

It mostly works. :) The main thing that was missing for my use case was the .active state of the .btn's within the .btn-group.

I added this little bit of JS to my app to get the .active states working:

```javascript
$('.tabbable.btn-group a').on('click', function() {
$(this).addClass('active').siblings().removeClass('active');
});
```

It works well enough for me for now, but it'd be great if bootstrap-tab.js fully supported .btn-group's.

Thanks.