diff options
author | Jacob Thornton <jacobthornton@gmail.com> | 2012-08-28 07:58:51 +0400 |
---|---|---|
committer | Jacob Thornton <jacobthornton@gmail.com> | 2012-08-28 07:58:51 +0400 |
commit | 601e252074eedf89de9cb080db9c463a4b67ba77 (patch) | |
tree | e3f72cb04af090b69bcc090c0d14b64e8ef2c0cc /js/bootstrap-button.js | |
parent | d797a5fbd7dd883a09bf00e516e0bd509c898f53 (diff) |
fix for #4761
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 702198f6d0..a0ab0bfad5 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') |