mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 10:09:53 +01:00
Remove tooltip initializer from Bootstrap file
This commit is contained in:
parent
94f027f546
commit
7f93fabb62
1 changed files with 0 additions and 3 deletions
|
@ -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 a new issue