Explorar o código

infos dans bulles hover

ouidade hai 1 mes
pai
achega
02a932e2b1
Modificáronse 2 ficheiros con 5 adicións e 0 borrados
  1. 0 0
      web/themes/custom/reha/dist/bundle.js
  2. 5 0
      web/themes/custom/reha/js/reha.js

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 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);
 // ////////////////////  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')) {

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio