[call-me] - fix tooltip 4 mobile

This commit is contained in:
Miroslav Pejic
2025-01-05 22:22:21 +01:00
parent 63431f2273
commit 4aefa2c3e4
+2
View File
@@ -172,6 +172,8 @@ async function fetchRandomImage() {
// Initialize tooltips and handle hiding them when clicked
function handleToolTip() {
if (isMobileDevice) return;
const tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-toggle="tooltip"]'));
const tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) {
return new bootstrap.Tooltip(tooltipTriggerEl);