From 7f93fabb62c5fd24467fd26cd6d72160726778c6 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sun, 10 Mar 2024 15:28:43 +0100 Subject: [PATCH] Remove tooltip initializer from Bootstrap file --- app/javascript/retrospring/initializers/bootstrap.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/javascript/retrospring/initializers/bootstrap.ts b/app/javascript/retrospring/initializers/bootstrap.ts index 82e7dab9..a2ff7dfd 100644 --- a/app/javascript/retrospring/initializers/bootstrap.ts +++ b/app/javascript/retrospring/initializers/bootstrap.ts @@ -8,9 +8,6 @@ import * as bootstrap from 'bootstrap'; */ export default function (): void { document.addEventListener('turbo:load', () => { - const tooltipTriggerList = document.querySelectorAll('[data-bs-toggle="tooltip"]'); - [...tooltipTriggerList].map(tooltipTriggerEl => new bootstrap.Tooltip(tooltipTriggerEl)); - const dropdownElementList = document.querySelectorAll('[data-bs-toggle="dropdown"]'); [...dropdownElementList].map(dropdownToggleEl => new bootstrap.Dropdown(dropdownToggleEl));