This commit is contained in:
2025-10-08 10:26:06 +02:00
6 changed files with 37 additions and 4 deletions
+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')) {