Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix icon control
Browse files Browse the repository at this point in the history
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
@@ -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);

0 comments on commit 0462e17

Please sign in to comment.