X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ff52509d5a75c7f218a8d6d6d82bb25897b3dae9..75a776a574cd6a711c0b4bf854701646c37c391c:/app/assets/javascripts/leaflet.note.js?ds=sidebyside diff --git a/app/assets/javascripts/leaflet.note.js b/app/assets/javascripts/leaflet.note.js index 43717f2c1..24f18f7ab 100644 --- a/app/assets/javascripts/leaflet.note.js +++ b/app/assets/javascripts/leaflet.note.js @@ -5,11 +5,11 @@ L.Control.Note = L.Control.extend({ }, onAdd: function (map) { - var className = 'leaflet-control-locate', - classNames = className + ' leaflet-control-zoom leaflet-bar leaflet-control', - container = L.DomUtil.create('div', classNames); + var className = 'control-note', + container = L.DomUtil.create('div', className); - 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.title;