Update Marker.js

According to the Leaflet documentation, setOpacity must return "this".
This commit is contained in:
Poisbeau Mathieu 2013-07-10 19:00:11 +02:00
parent 001f975b22
commit bde6b34502

View File

@ -283,6 +283,8 @@ L.Marker = L.Class.extend({
if (this._map) {
this._updateOpacity();
}
return this;
},
_updateOpacity: function () {