Skip to content

Commit

Permalink
Merge pull request #57 from cricri/gh-pages
Browse files Browse the repository at this point in the history
fix catch error
  • Loading branch information
calvinmetcalf authored May 30, 2019
2 parents aeec6e4 + 0815cce commit 5210fb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion leaflet.shpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ L.Shapefile = L.GeoJSON.extend({
self.addData(data);
self.fire('data:loaded');
self.worker.close();
}).catch(function(err) {
}).then(function() {}, function(err) {
self.fire('data:error', err);
})
return this;
Expand Down

0 comments on commit 5210fb5

Please sign in to comment.