mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-20 12:21:35 +02:00
bump to 4.2.1
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
import 'popper.js'
|
||||
import $ from 'jquery'
|
||||
import bootstrap from '../../../dist/js/bootstrap'
|
||||
|
||||
$(() => {
|
||||
$('#resultUID').text(bootstrap.Util.getUID('bs'))
|
||||
$('[data-toggle="tooltip"]').tooltip()
|
||||
window.addEventListener('load', () => {
|
||||
document.getElementById('resultUID').innerHTML = bootstrap.Util.getUID('bs')
|
||||
|
||||
bootstrap.Util.makeArray(document.querySelectorAll('[data-toggle="tooltip"]'))
|
||||
.map((tooltipNode) => new bootstrap.Tooltip(tooltipNode))
|
||||
})
|
||||
|
Reference in New Issue
Block a user