]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/browse.js
Remove deprecated attributes from share html
[rails.git] / app / assets / javascripts / index / browse.js
index 9d3f9a470afcac161e55faaa894fa26faad37d98..a65934d0227c3f53eee00c23e2e97d63d6628ce4 100644 (file)
@@ -54,6 +54,7 @@ OSM.initializeBrowse = function (map) {
             .text(I18n.t("browse.start_rjs.load_data")),
           $("<div>").append(
             $("<button type='button' class='btn-close'>")
+              .attr("aria-label", I18n.t("javascripts.close"))
               .click(cancel))),
         $("<p class='alert alert-warning'>")
           .text(I18n.t("browse.start_rjs.feature_warning", { num_features: count, max_features: limit })),