diff options
| author | Heinrich Fenkart <[email protected]> | 2014-10-30 04:45:04 +0100 |
|---|---|---|
| committer | Heinrich Fenkart <[email protected]> | 2014-10-30 04:45:04 +0100 |
| commit | b8c3c5c19b2154d157256cec839c9b0a40b3e7b4 (patch) | |
| tree | d5839e33946fd374e6bfea1ebf1ea314b941bfce /docs/dist/js/bootstrap.js | |
| parent | 4b165332be72e8ba9315d4cb709dce5cb0a0db2c (diff) | |
| download | bootstrap-b8c3c5c19b2154d157256cec839c9b0a40b3e7b4.tar.xz bootstrap-b8c3c5c19b2154d157256cec839c9b0a40b3e7b4.zip | |
grunt
Diffstat (limited to 'docs/dist/js/bootstrap.js')
| -rw-r--r-- | docs/dist/js/bootstrap.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/dist/js/bootstrap.js b/docs/dist/js/bootstrap.js index 8dff365fb..8f24ca05e 100644 --- a/docs/dist/js/bootstrap.js +++ b/docs/dist/js/bootstrap.js @@ -282,7 +282,7 @@ if (typeof jQuery === 'undefined') { e.preventDefault() }) .on('focus.bs.button.data-api blur.bs.button.data-api', '[data-toggle^="button"]', function (e) { - $(e.target).closest('.btn').toggleClass('focus', e.type == 'focus') + $(e.target).closest('.btn').toggleClass('focus', /^focus(in)?$/.test(e.type)) }) }(jQuery); |
