mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-12 03:45:26 -05:00
16 lines
443 B
TypeScript
16 lines
443 B
TypeScript
|
import { Tooltip } from 'bootstrap-5'
|
||
|
|
||
|
const footerLanguageElement = document.querySelector(
|
||
|
'[data-ol-lang-selector-tooltip]'
|
||
|
) as Element
|
||
|
|
||
|
const allTooltips = document.querySelectorAll('[data-bs-toggle="tooltip"]')
|
||
|
|
||
|
// eslint-disable-next-line no-unused-vars
|
||
|
const footLangTooltip = new Tooltip(footerLanguageElement)
|
||
|
|
||
|
allTooltips.forEach(element => {
|
||
|
// eslint-disable-next-line no-unused-vars
|
||
|
const tooltip = new Tooltip(element)
|
||
|
})
|