[9.0.13] area[title] add to tippy

This commit is contained in:
fredtempez 2019-03-25 13:41:13 +01:00
parent 57e5322f9b
commit 1c18ca1e3f

View File

@ -14,7 +14,7 @@ $(document).ready(function() {
placement: "top"
});
// Pour les images map, pas de flèche, bulle haut suivant le curseur
tippy('img[title], a[title]', {
tippy('img[title], a[title], area[title]', {
content(reference) {
const title = reference.getAttribute('title')
reference.removeAttribute('title')