diff options
author | Mark Otto <markdotto@gmail.com> | 2016-02-17 07:09:57 +0300 |
---|---|---|
committer | Mark Otto <markdotto@gmail.com> | 2016-02-17 07:09:57 +0300 |
commit | 3b84ffcc5483b96baa273f57c45e8b3eab3bfea4 (patch) | |
tree | 1e30f4af93c82ca2883c34ce92e05dc8ee4da599 /js/dist/button.js | |
parent | c5c07285597e72cbb201a00ce736e364390e14ce (diff) |
grunt
Diffstat (limited to 'js/dist/button.js')
-rw-r--r-- | js/dist/button.js | 2 |
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)); |