X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/e6ef6defb250c6a4720234c7dd91f8a2173662bc..4bb0785ad5bdad8fc8fcbbe35c61f585f58f4cce:/app/assets/javascripts/leaflet.share.js diff --git a/app/assets/javascripts/leaflet.share.js b/app/assets/javascripts/leaflet.share.js index b53524f25..6701e0bbd 100644 --- a/app/assets/javascripts/leaflet.share.js +++ b/app/assets/javascripts/leaflet.share.js @@ -11,9 +11,9 @@ L.OSM.share = function (options) { .attr('class', 'control-share'); var button = $('') - .attr('class', 'control-button') + .attr('class', 'control-button mobile-hide') .attr('href', '#') - .attr('title', 'Share') + .attr('title', I18n.t('javascripts.share.title')) .html('') .on('click', toggle) .appendTo($container); @@ -25,10 +25,9 @@ L.OSM.share = function (options) { .attr('class', 'sidebar_heading') .appendTo($ui) .append( - $('') + $('') .text(I18n.t('javascripts.close')) - .attr('class', 'sidebar_close') - .attr('href', '#') + .attr('class', 'icon close') .bind('click', toggle)) .append( $('

') @@ -304,7 +303,8 @@ L.OSM.share = function (options) { '
' + - '
' + + escapeHTML(I18n.t('javascripts.share.view_larger_map')) + ''); // Image