aboutsummaryrefslogtreecommitdiff
path: root/docs/dist/js/bootstrap.js
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2016-04-08 20:55:19 -0500
committerMark Otto <[email protected]>2016-04-08 20:55:19 -0500
commit80144d74d7435746f786e8eceae3a4adc07f93ac (patch)
treea6f1c8654961d2bd9c3ea2fa8639942826b9e489 /docs/dist/js/bootstrap.js
parent325c1d4c3cde965229c6f512739946f8076fc225 (diff)
parent2cc75671e143587ace7efaf79c5b3350a711d57d (diff)
downloadbootstrap-80144d74d7435746f786e8eceae3a4adc07f93ac.tar.xz
bootstrap-80144d74d7435746f786e8eceae3a4adc07f93ac.zip
Merge branch 'v4-dev' into v4-forms-cleanup
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..2b5823a20 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.focus();
}
} else {
this._element.setAttribute('aria-pressed', !$(this._element).hasClass(ClassName.ACTIVE));