- $("<div class='flex-grow-1 text-break'>").append(
- $("<h2>")
- .text(I18n.t("javascripts.directions.directions"))),
- $("<div>").append(
- $("<a class='geolink' href='#'>").append(
- $("<button type='button' class='btn-close mt-1'>")))),
+ $("<h2 class='flex-grow-1 text-break'>")
+ .text(I18n.t("javascripts.directions.directions")),
+ $("<div>").append(directionsCloseButton)),