mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-14 02:24:00 +01:00
8f7bd41993
* update docs path from docs/4.0/ to docs/4.1/ * bump version to 4.1.0 * Update redirects to work for 4.1 docs move * Update docs version switcher to include latest and link to 4.0 docs * re-run dist * Update package-lock.json * Update docs-navbar.html
33 lines
583 B
JavaScript
33 lines
583 B
JavaScript
$(function () {
|
|
'use strict'
|
|
|
|
$('.tooltip-right').tooltip({
|
|
placement: 'right',
|
|
viewport: {
|
|
selector: 'body',
|
|
padding: 2
|
|
}
|
|
})
|
|
$('.tooltip-bottom').tooltip({
|
|
placement: 'bottom',
|
|
viewport: {
|
|
selector: 'body',
|
|
padding: 2
|
|
}
|
|
})
|
|
$('.tooltip-viewport-right').tooltip({
|
|
placement: 'right',
|
|
viewport: {
|
|
selector: '.container-viewport',
|
|
padding: 2
|
|
}
|
|
})
|
|
$('.tooltip-viewport-bottom').tooltip({
|
|
placement: 'bottom',
|
|
viewport: {
|
|
selector: '.container-viewport',
|
|
padding: 2
|
|
}
|
|
})
|
|
})
|