fix regression in marker setIcon #1768
This commit is contained in:
parent
19d49e027f
commit
43c2c6a4a0
3
dist/leaflet-src.js
vendored
3
dist/leaflet-src.js
vendored
@ -3482,9 +3482,10 @@ L.Marker = L.Class.extend({
|
||||
if (options.title) {
|
||||
icon.title = options.title;
|
||||
}
|
||||
L.DomUtil.addClass(icon, classToAdd);
|
||||
}
|
||||
|
||||
L.DomUtil.addClass(icon, classToAdd);
|
||||
|
||||
this._icon = icon;
|
||||
|
||||
this._initInteraction();
|
||||
|
2
dist/leaflet.js
vendored
2
dist/leaflet.js
vendored
File diff suppressed because one or more lines are too long
@ -117,9 +117,10 @@ L.Marker = L.Class.extend({
|
||||
if (options.title) {
|
||||
icon.title = options.title;
|
||||
}
|
||||
L.DomUtil.addClass(icon, classToAdd);
|
||||
}
|
||||
|
||||
L.DomUtil.addClass(icon, classToAdd);
|
||||
|
||||
this._icon = icon;
|
||||
|
||||
this._initInteraction();
|
||||
|
Loading…
Reference in New Issue
Block a user