2
0
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:
XhmikosR
2021-11-02 13:04:29 +02:00
parent 8306213650
commit 331a935902
3 changed files with 14 additions and 7 deletions
-1
View File
@@ -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))