If there is some event, for example, when editing a track on the map - adding a point, then when editing mode is enabled, when clicking on the full-screen button, a new point will be added in the place of this button.
This fixes it.
The application code is also slightly simplified: L.Dom Event.stop
If there is some event, for example, when editing a track on the map - adding a point, then when editing mode is enabled, when clicking on the full-screen button, a new point will be added in the place of this button. This fixes it.
The application code is also slightly simplified: L.Dom Event.stop