]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/leaflet.note.js
Adding a little more max width for buttons
[rails.git] / app / assets / javascripts / leaflet.note.js
index 77fb9baff90f3afc6936dfdd7d4a599fda8daf30..a38e012de63cff6f3640ef8b962b127275bd793f 100644 (file)
@@ -6,9 +6,10 @@ L.OSM.note = function (options) {
       .attr('class', 'control-note');
 
     $('<a>')
-      .attr('class', 'control-button')
+      .attr('id', 'createnoteanchor')
+      .attr('class', 'control-button geolink')
+      .attr('data-minzoom', 12)
       .attr('href', '#')
-      .attr('title', I18n.t('javascripts.notes.new.add'))
       .html('<span class="icon note"></span>')
       .appendTo($container);