aboutsummaryrefslogtreecommitdiff
path: root/docs/dist/js/bootstrap.js
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2016-02-16 20:09:57 -0800
committerMark Otto <[email protected]>2016-02-16 20:09:57 -0800
commit3b84ffcc5483b96baa273f57c45e8b3eab3bfea4 (patch)
tree1e30f4af93c82ca2883c34ce92e05dc8ee4da599 /docs/dist/js/bootstrap.js
parentc5c07285597e72cbb201a00ce736e364390e14ce (diff)
downloadbootstrap-3b84ffcc5483b96baa273f57c45e8b3eab3bfea4.tar.xz
bootstrap-3b84ffcc5483b96baa273f57c45e8b3eab3bfea4.zip
grunt
Diffstat (limited to 'docs/dist/js/bootstrap.js')
-rw-r--r--docs/dist/js/bootstrap.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/dist/js/bootstrap.js b/docs/dist/js/bootstrap.js
index 7696fef79..24cd3683a 100644
--- a/docs/dist/js/bootstrap.js
+++ b/docs/dist/js/bootstrap.js
@@ -462,6 +462,8 @@ var Button = (function ($) {
input.checked = !$(this._element).hasClass(ClassName.ACTIVE);
$(this._element).trigger('change');
}
+
+ $(input).trigger('focus');
}
} else {
this._element.setAttribute('aria-pressed', !$(this._element).hasClass(ClassName.ACTIVE));