Skip to content

Commit

Permalink
Remove unnecessary wrapper divs from data layer error message
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonKhorev committed Jan 29, 2025
1 parent 09e802b commit 807d3aa
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions app/assets/javascripts/index/layers/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,8 @@ OSM.initializeDataLayer = function (map) {
$("<button type='button' class='btn-close'>")
.attr("aria-label", I18n.t("javascripts.close"))
.click(close))),
$("<div>").append(
$("<div class='d-flex'>").append(
$("<p class='alert alert-warning'>")
.text(I18n.t("browse.start_rjs.feature_error", { message: message }))))));
$("<p class='alert alert-warning'>")
.text(I18n.t("browse.start_rjs.feature_error", { message: message }))));
}

var dataLoader;
Expand Down

0 comments on commit 807d3aa

Please sign in to comment.