Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <markdotto@gmail.com>2016-02-17 07:09:57 +0300
committerMark Otto <markdotto@gmail.com>2016-02-17 07:09:57 +0300
commit3b84ffcc5483b96baa273f57c45e8b3eab3bfea4 (patch)
tree1e30f4af93c82ca2883c34ce92e05dc8ee4da599 /js/dist/button.js
parentc5c07285597e72cbb201a00ce736e364390e14ce (diff)
grunt
Diffstat (limited to 'js/dist/button.js')
-rw-r--r--js/dist/button.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/dist/button.js b/js/dist/button.js
index 592b29f1ab..1486e745d6 100644
--- a/js/dist/button.js
+++ b/js/dist/button.js
@@ -95,6 +95,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));