diff options
| author | Mark Otto <[email protected]> | 2012-08-27 21:06:29 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-08-27 21:06:29 -0700 |
| commit | 55982664d01686612facdfa09ad63ffabcbf28fe (patch) | |
| tree | 592f6e43dba364ff3651dd2372591e81fed2c690 /js/bootstrap-button.js | |
| parent | 1eaf1cf418c4b3595898346aeb32e0a1e5b31ea1 (diff) | |
| parent | 601e252074eedf89de9cb080db9c463a4b67ba77 (diff) | |
| download | bootstrap-55982664d01686612facdfa09ad63ffabcbf28fe.tar.xz bootstrap-55982664d01686612facdfa09ad63ffabcbf28fe.zip | |
Merge branch '2.1.1-wip' of github.com:twitter/bootstrap into 2.1.1-wip
Diffstat (limited to 'js/bootstrap-button.js')
| -rw-r--r-- | js/bootstrap-button.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/bootstrap-button.js b/js/bootstrap-button.js index 702198f6d..a0ab0bfad 100644 --- a/js/bootstrap-button.js +++ b/js/bootstrap-button.js @@ -51,7 +51,7 @@ } Button.prototype.toggle = function () { - var $parent = this.$element.parent('[data-toggle="buttons-radio"]') + var $parent = this.$element.closest('[data-toggle="buttons-radio"]') $parent && $parent .find('.active') |
