mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-02 16:04:07 +03:00
Move ESLint config to an override
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import { Tooltip } from '../../../dist/js/bootstrap.esm.js'
|
||||
|
||||
// eslint-disable-next-line ssr-friendly/no-dom-globals-in-module-scope
|
||||
window.addEventListener('load', () => {
|
||||
[].concat(...document.querySelectorAll('[data-bs-toggle="tooltip"]'))
|
||||
.map(tooltipNode => new Tooltip(tooltipNode))
|
||||
|
||||
Reference in New Issue
Block a user