This commit is contained in:
Jacob Thornton 2012-08-27 20:58:51 -07:00
parent d797a5fbd7
commit 601e252074
5 changed files with 24 additions and 5 deletions

View file

@ -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')

View file

@ -199,7 +199,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')

File diff suppressed because one or more lines are too long