0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

add docs JS to activate popover demos; fixes #13937

This commit is contained in:
Chris Rebert 2014-06-26 11:41:40 -07:00
parent 83d9165287
commit 0bc2edd191

View File

@ -80,13 +80,18 @@
selector: '[data-toggle="tooltip"]',
container: 'body'
})
$('.popover-demo').popover({
selector: '[data-toggle="popover"]',
container: 'body'
})
// Demos within modals
$('.tooltip-test').tooltip()
$('.popover-test').popover()
// Default popover demo
// Default & dismissible popover demos
$('.bs-docs-popover').popover()
$('.bs-docs-popover-dismiss').popover({trigger: 'focus'})
// Button state demo
$('#loading-example-btn').click(function () {