diff options
| author | Chris Rebert <[email protected]> | 2014-07-15 16:57:25 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-07-15 16:57:54 -0700 |
| commit | 11db482371ed8195093139ddb4eb31177ada0607 (patch) | |
| tree | cb0309dba7aecddad287590f8aaf2e34bcc067df /docs/assets/js/src/application.js | |
| parent | dd22f599998cc07c18b6643a856d5acda6c5c122 (diff) | |
| download | bootstrap-11db482371ed8195093139ddb4eb31177ada0607.tar.xz bootstrap-11db482371ed8195093139ddb4eb31177ada0607.zip | |
popover dismiss-on-next-click example: instead of <button>, use <a> w/ tabindex
Fixes #14038.
Research supporting this choice of approach:
https://gist.github.com/cvrebert/68659d0333a578d75372
Why not <button>?
Even with a `tabindex` attribute, they don't gain focus when clicked upon in:
* Mac OS X Firefox 30.0
* Mac OS X Safari 7.0.5
Diffstat (limited to 'docs/assets/js/src/application.js')
| -rw-r--r-- | docs/assets/js/src/application.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/assets/js/src/application.js b/docs/assets/js/src/application.js index 792fc9779..cfcfa2b50 100644 --- a/docs/assets/js/src/application.js +++ b/docs/assets/js/src/application.js @@ -97,9 +97,8 @@ $('.tooltip-test').tooltip() $('.popover-test').popover() - // Default & dismissible popover demos + // Popover demos $('.bs-docs-popover').popover() - $('.bs-docs-popover-dismiss').popover({ trigger: 'focus' }) // Button state demo $('#loading-example-btn').click(function () { |
