feat: add bs tooltips

This commit is contained in:
Oliver Booth 2023-08-08 02:08:18 +01:00
parent a8158611b8
commit 2df24a99e7
Signed by: oliverbooth
GPG Key ID: 725DB725A0D9EE61

View File

@ -1,3 +1,6 @@
declare const bootstrap: any;
(() => { (() => {
const list = document.querySelectorAll('[data-bs-toggle="tooltip"]');
list.forEach((el: Element) => new bootstrap.Tooltip(el));
})(); })();