Skip to content

Commit

Permalink
Merge pull request #2 from unicef-polymer/marker-detach
Browse files Browse the repository at this point in the history
fixes usage of legacy method for detaching element
  • Loading branch information
marko911 committed Aug 3, 2018
2 parents df6444b + 654c9e0 commit b86b914
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "leaflet-map",
"version": "2.0.1",
"version": "2.0.2",
"authors": [
"Hendrik Brummermann <[email protected]>",
"Prateek Saxena <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion leaflet-marker.html
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@
}
}

detached() {
disconnectedCallback() {
if (this.container && this.feature) {
this.container.removeLayer(this.feature);
}
Expand Down

0 comments on commit b86b914

Please sign in to comment.