aboutsummaryrefslogtreecommitdiffstats
path: root/docs/static/js/bootstrap-button.js
diff options
context:
space:
mode:
Diffstat (limited to 'docs/static/js/bootstrap-button.js')
-rwxr-xr-x[-rw-r--r--]docs/static/js/bootstrap-button.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/static/js/bootstrap-button.js b/docs/static/js/bootstrap-button.js
index d0413d6e..a0ab0bfa 100644..100755
--- a/docs/static/js/bootstrap-button.js
+++ b/docs/static/js/bootstrap-button.js
@@ -1,5 +1,5 @@
/* ============================================================
- * bootstrap-button.js v2.1.0
+ * bootstrap-button.js v2.1.1
* http://twitter.github.com/bootstrap/javascript.html#buttons
* ============================================================
* Copyright 2012 Twitter, Inc.
@@ -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')