Browse Source

infos dans bulles hover

ouidade 1 month ago
parent
commit
02a932e2b1
2 changed files with 5 additions and 0 deletions
  1. 0 0
      web/themes/custom/reha/dist/bundle.js
  2. 5 0
      web/themes/custom/reha/js/reha.js

File diff suppressed because it is too large
+ 0 - 0
web/themes/custom/reha/dist/bundle.js


+ 5 - 0
web/themes/custom/reha/js/reha.js

@@ -309,6 +309,11 @@ jQuery(document).ready(function($){
 // })(jQuery, Drupal);
 // })(jQuery, Drupal);
 // ////////////////////  end div infos site  ////////////////////////
 // ////////////////////  end div infos site  ////////////////////////
 
 
+
+// document.querySelectorAll('.description').forEach(el => {
+//   el.setAttribute('data-text', el.textContent.trim());
+// });
+
 function initDescriptionTooltips(root = document) {
 function initDescriptionTooltips(root = document) {
   root.querySelectorAll('.description').forEach(el => {
   root.querySelectorAll('.description').forEach(el => {
     if (!el.hasAttribute('data-text')) {
     if (!el.hasAttribute('data-text')) {

Some files were not shown because too many files changed in this diff