Add alternative text to marker shadows (#5259)

This commit is contained in:
Mariano Carballal 2017-01-17 20:26:44 +02:00 committed by Vladimir Agafonkin
parent 7ea3ab8888
commit 7f11fdfbae

View File

@ -209,6 +209,7 @@ L.Marker = L.Layer.extend({
if (newShadow) {
L.DomUtil.addClass(newShadow, classToAdd);
newShadow.alt = '';
}
this._shadow = newShadow;