Skip to content

Commit d0fe1da

Browse files
authored
Don't use deprcated mixin in Permalink for Leaflet 1.2
Don't use deprcated mixin
1 parent 5a9fda7 commit d0fe1da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

control/Permalink.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
L.Control.Permalink = L.Control.extend({
2-
includes: L.Mixin.Events,
2+
includes: L.Evented ? L.Evented.prototype : L.Mixin.Events,
33

44
options: {
55
position: 'bottomleft',

0 commit comments

Comments
 (0)