react-leaflet-control
Advanced tools
Comparing version 1.1.2 to 1.2.0
@@ -16,4 +16,6 @@ 'use strict'; | ||
onAdd: function onAdd(map) { | ||
return _leaflet.DomUtil.create('div', this.options.className); | ||
onAdd: function (map) { | ||
var _controlDiv = _leaflet.DomUtil.create('div', this.options.className); | ||
_leaflet.DomEvent.disableClickPropagation(_controlDiv); | ||
return _controlDiv; | ||
}, | ||
@@ -20,0 +22,0 @@ |
{ | ||
"name": "react-leaflet-control", | ||
"version": "1.1.2", | ||
"version": "1.2.0", | ||
"description": "Dumb Empty Component for control with react leaflet", | ||
@@ -5,0 +5,0 @@ "main": "dist/control.js", |
7862
95