infos dans bulles hover
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
@@ -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')) {
|
||||||
|
|||||||
Reference in New Issue
Block a user