We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f44259d + e46f4f4 commit 8b92b8eCopy full SHA for 8b92b8e
1 file changed
src/index.js
@@ -70,7 +70,7 @@ L.Control.SplitMap = L.Control.extend({
70
71
setPosition: noop,
72
73
- includes: L.Mixin.Events,
+ includes: L.version.split(".")[0] === '1' ? L.Evented.prototype : L.Mixin.Events,
74
75
addTo: function (map) {
76
this.remove()
0 commit comments