Skip to content

Commit

Permalink
Fix icon control
Browse files Browse the repository at this point in the history
  • Loading branch information
Gagaro committed Jul 15, 2024
1 parent c43d688 commit 0462e17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion leaflet/static/leaflet/leaflet.extras.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ L.Control.ResetView = L.Control.extend({
L.Util.setOptions(this, options);

const titleElement = document.getElementById("Control-ResetView-TITLE");
const iconElement = document.getElementById("Control-ResetView-TITLE");
const iconElement = document.getElementById("Control-ResetView-ICON");

if (!!titleElement) {
L.Control.ResetView.TITLE = JSON.parse(titleElement.textContent);
Expand Down

0 comments on commit 0462e17

Please sign in to comment.