Skip to content

Commit

Permalink
Fixed initialization for leaflet.draw
Browse files Browse the repository at this point in the history
  • Loading branch information
nikgavalas committed Oct 17, 2014
1 parent 2561f3a commit bcb0e14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion leaflet-src.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ L.Class.extend = function (props) {
}

// call all constructor hooks
if (this._initHooks.length) {
if (this._initHooks) {
this.callInitHooks();
}
};
Expand Down
Loading

0 comments on commit bcb0e14

Please sign in to comment.