From: John Firebaugh Date: Thu, 18 Jul 2013 18:45:44 +0000 (-0700) Subject: Restore prohibition on low-zoom notes X-Git-Tag: live~4882^2 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/7094370208712e77d92ea2ad0d76e160742d6c0a?hp=-c Restore prohibition on low-zoom notes --- 7094370208712e77d92ea2ad0d76e160742d6c0a diff --git a/app/assets/javascripts/leaflet.note.js b/app/assets/javascripts/leaflet.note.js index 77fb9baff..a38e012de 100644 --- a/app/assets/javascripts/leaflet.note.js +++ b/app/assets/javascripts/leaflet.note.js @@ -6,9 +6,10 @@ L.OSM.note = function (options) { .attr('class', 'control-note'); $('') - .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('') .appendTo($container);