X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/eb7678145a87c1b9e3cd7ff2d3b5dc08132e4b51..8cef62cd2cec4a297e46b4f2a86c9afeadb3b283:/app/assets/javascripts/index/browse.js?ds=sidebyside
diff --git a/app/assets/javascripts/index/browse.js b/app/assets/javascripts/index/browse.js
index c840ecdfa..a65934d02 100644
--- a/app/assets/javascripts/index/browse.js
+++ b/app/assets/javascripts/index/browse.js
@@ -1,6 +1,5 @@
OSM.initializeBrowse = function (map) {
var browseBounds;
- var selectedLayer;
var dataLayer = map.dataLayer;
dataLayer.setStyle({
@@ -49,15 +48,19 @@ OSM.initializeBrowse = function (map) {
function displayFeatureWarning(count, limit, add, cancel) {
$("#browse_status").html(
- $("
")
- .text(I18n.t("browse.start_rjs.feature_warning", { num_features: count, max_features: limit }))
- .prepend(
- $("")
- .click(cancel))
- .append(
- $("")
- .val(I18n.t("browse.start_rjs.load_data"))
- .click(add)));
+ $("").append(
+ $("
").append(
+ $("
")
+ .text(I18n.t("browse.start_rjs.load_data")),
+ $("").append(
+ $("