infos dans bulles hover

This commit is contained in:
2025-10-07 21:39:03 +02:00
committed by bachir
parent 3a71a4d647
commit 02a932e2b1
2 changed files with 6 additions and 1 deletions
File diff suppressed because one or more lines are too long
+5
View File
@@ -309,6 +309,11 @@ jQuery(document).ready(function($){
// })(jQuery, Drupal);
// //////////////////// end div infos site ////////////////////////
// document.querySelectorAll('.description').forEach(el => {
// el.setAttribute('data-text', el.textContent.trim());
// });
function initDescriptionTooltips(root = document) {
root.querySelectorAll('.description').forEach(el => {
if (!el.hasAttribute('data-text')) {