mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-30 23:36:47 +02:00
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
This commit is contained in:
@@ -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 () {
|
||||
|
Reference in New Issue
Block a user