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 b2f0986
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ CHANGELOG
0.30.2 (unreleased)
-------------------

-
- Fix icon control.

0.30.1 (2024-06-17)
-------------------
Expand Down
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 b2f0986

Please sign in to comment.