Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanmatiaspascual committed Mar 3, 2019
1 parent f2e5e05 commit 24a802a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion leaflet.textpath.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ var PolylineTextPath = {

/* If not in SVG mode or Polyline not added to map yet return */
/* setText will be called by onAdd, using value stored in this._text */
if (!L.Browser.svg || typeof this._map === 'undefined') {
if (!L.Browser.svg || typeof !this._map) {
return this;
}

Expand Down

0 comments on commit 24a802a

Please sign in to comment.