]> git.openstreetmap.org Git - rails.git/commitdiff
Remove include of Mixin.Events
authorTom Hughes <tom@compton.nu>
Sun, 27 May 2018 19:33:54 +0000 (20:33 +0100)
committerTom Hughes <tom@compton.nu>
Sun, 27 May 2018 19:33:54 +0000 (20:33 +0100)
The Events mixin has been replaced by inherting from Evented and
the Layer class already inherits from that.

vendor/assets/leaflet/leaflet.locationfilter.js

index 0a977ed413182bb4d659834f45f929c72f0717f0..64ca347125c548fd1f381e36b16bef5a9c903d3d 100644 (file)
@@ -91,8 +91,6 @@ L.Control.ButtonContainer = L.Control.extend({
 });
 
 L.LocationFilter = L.Layer.extend({
-    includes: L.Mixin.Events,
-
     options: {
         enableButton: {
             enableText: "Select area",