Skip to content

Commit

Permalink
handleControlAdded renamed from onControlAdd, increasing function…
Browse files Browse the repository at this point in the history
… naming consistency
  • Loading branch information
Stassi committed Nov 14, 2024
1 parent 9554e83 commit f7156e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/leaflet-fullscreen/fullscreen-map.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export function fullscreenMap({

linkAssign({ href: '#' })

control.onAdd = function onControlAdd(addedMap) {
control.onAdd = function handleControlAdded(addedMap) {
setControlTitle({
fullscreen: getFullscreenState(),
linkAssign,
Expand Down

0 comments on commit f7156e0

Please sign in to comment.