Skip to content

Commit

Permalink
Update build
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtoye committed Nov 3, 2013
1 parent c6349b9 commit 1c842aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions dist/leaflet.draw-src.js
Original file line number Diff line number Diff line change
Expand Up @@ -2094,10 +2094,12 @@ L.Tooltip = L.Class.extend({
},

updatePosition: function (latlng) {
var pos = this._map.latLngToLayerPoint(latlng);
var pos = this._map.latLngToLayerPoint(latlng),
tooltipContainer = this._container;

if (this._container) {
L.DomUtil.setPosition(this._container, pos);
tooltipContainer.style.visibility = 'inherit';
L.DomUtil.setPosition(tooltipContainer, pos);
}

return this;
Expand Down
Loading

0 comments on commit 1c842aa

Please sign in to comment.