Skip to content

Commit

Permalink
Reapply patch
Browse files Browse the repository at this point in the history
  • Loading branch information
jfirebaugh committed Aug 8, 2013
1 parent 1b2738a commit dc877c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vendor/assets/leaflet/leaflet.locate.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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 = "<span class='icon geolocate'></span>";
link.href = '#';
link.title = this.options.strings.title;

Expand Down

0 comments on commit dc877c3

Please sign in to comment.