Skip to content

Commit

Permalink
remove fullscreenchange listener
Browse files Browse the repository at this point in the history
This commit fixes Leaflet#57
  • Loading branch information
Istador committed Nov 20, 2019
1 parent 91c9745 commit 0b82178
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions dist/Leaflet.fullscreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@
return container;
},

onRemove: function (map) {
map.off('fullscreenchange', this._toggleTitle, this);
},

_click: function (e) {
L.DomEvent.stopPropagation(e);
L.DomEvent.preventDefault(e);
Expand Down
2 changes: 1 addition & 1 deletion dist/Leaflet.fullscreen.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0b82178

Please sign in to comment.