From: John Firebaugh Date: Thu, 8 Aug 2013 21:26:36 +0000 (-0700) Subject: Reapply patch X-Git-Tag: live~4782 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/dc877c3d0346531f7f478bad0b7d8c69807cffb5?ds=sidebyside Reapply patch --- diff --git a/vendor/assets/leaflet/leaflet.locate.js b/vendor/assets/leaflet/leaflet.locate.js index 64fb144d4..fd017d4c8 100644 --- a/vendor/assets/leaflet/leaflet.locate.js +++ b/vendor/assets/leaflet/leaflet.locate.js @@ -54,8 +54,7 @@ L.Control.Locate = L.Control.extend({ }, onAdd: function (map) { - var container = L.DomUtil.create('div', - 'leaflet-control-locate leaflet-bar leaflet-control'); + var container = L.DomUtil.create('div', 'control-locate'); var self = this; this._layer = new L.LayerGroup(); @@ -79,7 +78,8 @@ L.Control.Locate = L.Control.extend({ L.extend(tmp, this.options.circleStyle, this.options.followCircleStyle); this.options.followCircleStyle = tmp; - var link = L.DomUtil.create('a', 'leaflet-bar-part leaflet-bar-part-single', container); + var link = L.DomUtil.create('a', 'control-button', container); + link.innerHTML = ""; link.href = '#'; link.title = this.options.strings.title;