Browse Source

infos dans bulles hover

ouidade 3 tháng trước cách đây
mục cha
commit
02a932e2b1

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 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')) {

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác