mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-08 22:56:46 +02:00
move util in a util folder with the sanitizer
This commit is contained in:
@@ -2,8 +2,6 @@ import 'popper.js'
|
||||
import bootstrap from '../../../dist/js/bootstrap'
|
||||
|
||||
window.addEventListener('load', () => {
|
||||
document.getElementById('resultUID').innerHTML = bootstrap.Util.getUID('bs')
|
||||
|
||||
bootstrap.Util.makeArray(document.querySelectorAll('[data-toggle="tooltip"]'))
|
||||
Array.from(document.querySelectorAll('[data-toggle="tooltip"]'))
|
||||
.map((tooltipNode) => new bootstrap.Tooltip(tooltipNode))
|
||||
})
|
||||
|
Reference in New Issue
Block a user