mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-02 00:41:13 -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)
|
||
|
})
|