twitter/bootstrap — Issue #1814: Buttons with only icons can't be toggled
Author: Kinsbane
Created: 2012-02-07 23:06:32+00:00
State: open

Loving Bootstrap 2 guys! Good stuff.

I tried making an icon-only toggle button, but when I click the button, the active class gets assigned to the icon element, rather than the button itself. Toggle-able buttons with icons and text work just fine. I'm assuming it has something to do with the presence / lack of text..

TL; DR-

This is what I'm looking for:
```
```

This is what the bootstrap-button.js file does:
```
```