]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/directions.js
Merge remote-tracking branch 'upstream/pull/3770'
[rails.git] / app / assets / javascripts / index / directions.js
index 58370e9e3282b196cae9df787e162ffd9b8f6ae7..500610e26dfc9c4f3ed3529614f60c54a05a0757 100644 (file)
@@ -271,9 +271,8 @@ OSM.Directions = function (map) {
         .empty()
         .append(
           $("<div class='d-flex'>").append(
         .empty()
         .append(
           $("<div class='d-flex'>").append(
-            $("<div class='flex-grow-1 text-break'>").append(
-              $("<h2>")
-                .text(I18n.t("javascripts.directions.directions"))),
+            $("<h2 class='flex-grow-1 text-break'>")
+              .text(I18n.t("javascripts.directions.directions")),
             $("<div>").append(directionsCloseButton)),
           distanceText,
           turnByTurnTable
             $("<div>").append(directionsCloseButton)),
           distanceText,
           turnByTurnTable