Skip to content

Commit

Permalink
fix: compat Leaflet 1.8.0, popup _close => close
Browse files Browse the repository at this point in the history
  • Loading branch information
brunob committed Aug 2, 2022
1 parent ddc839f commit c647ae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/leaflet.geodiv.js
Expand Up @@ -54,7 +54,7 @@ L.Map.Geodiv = L.Map.extend({

this.on('zoomend', function(e) {
if (this.infowindow)
this.infowindow._close();
this.infowindow.close();
});
},

Expand Down

0 comments on commit c647ae9

Please sign in to comment.