CopyPastor

Detecting plagiarism made easy.

Score: 1; Reported for: String similarity Open both answers

Possible Plagiarism

Reposted on 2023-09-28
by Stevie-Ray Hartog

Original Post

Original - Posted on 2023-09-28
by Stevie-Ray Hartog



            
Present in both answers; Present only in the new answer; Present only in the old answer;

For bootstap 5 you can use:
// get all tooltips const tooltipTriggerList = document.querySelectorAll('[data-bs-toggle="tooltip"]') // loop trough tooltips const tooltipList = [...tooltipTriggerList].map(tooltipTriggerEl => { const tooltip = new bootstrap.Tooltip(tooltipTriggerEl); // make tooltips visible on load tooltip.show() // keep tooltips in view tooltipTriggerEl.addEventListener('hide.bs.tooltip', (e) => { e.preventDefault() }) return tooltip })
For bootstap 5 you can use:
// get all tooltips const tooltipTriggerList = document.querySelectorAll('[data-bs-toggle="tooltip"]') // loop trough tooltips const tooltipList = [...tooltipTriggerList].map(tooltipTriggerEl => { const tooltip = new bootstrap.Tooltip(tooltipTriggerEl); // make tooltips visible on load tooltip.show() // keep tooltips in view tooltipTriggerEl.addEventListener('hide.bs.tooltip', (e) => { e.preventDefault() }) return tooltip })

        
Present in both answers; Present only in the new answer; Present only in the old answer;