forked from ZwiiCMS-Team/ZwiiCMS
[9.0.13] area[title] add to tippy
This commit is contained in:
parent
57e5322f9b
commit
1c18ca1e3f
2
core/vendor/tippy/init.js
vendored
2
core/vendor/tippy/init.js
vendored
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user