maphilight ne fonctionne pas avec SPIP 4.2
Bonjour,
En SPIP 4.2, j'ai une erreur JS dans la console :
7b99e7834dde97f6d24fc19dabca6351.js?1705092353:25915 Uncaught TypeError: Q.size is not a function
at HTMLImageElement.<anonymous> (7b99e7834dde97f6d24fc19dabca6351.js?1705092353:25915:3473)
at Function.each (7b99e7834dde97f6d24fc19dabca6351.js?1705092353:242:13)
at jQuery.fn.init.each (7b99e7834dde97f6d24fc19dabca6351.js?1705092353:125:15)
at F.fn.maphilight (7b99e7834dde97f6d24fc19dabca6351.js?1705092353:25915:3194)
at HTMLDocument.<anonymous> (Image-cliquable-377.html?var_mode=calcul:109:63)
at mightThrow (7b99e7834dde97f6d24fc19dabca6351.js?1705092353:2184:18)
at process (7b99e7834dde97f6d24fc19dabca6351.js?1705092353:2221:1)
Il faudrait mettre à jour la lib en 1.4.2 compaticle jquery 3+ :