Remove tooltip initializer from Bootstrap file
This commit is contained in:
parent
94f027f546
commit
7f93fabb62
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in New Issue