소스 검색

infos dans bulles hover

ouidade 1 개월 전
부모
커밋
02a932e2b1
2개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 0 0
      web/themes/custom/reha/dist/bundle.js
  2. 5 0
      web/themes/custom/reha/js/reha.js

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 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')) {

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.