X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4e0c5f5fcb8e9d71a116e726bcd132d884a8e954..be541bcab21487560d4974215bd35be74012c492:/app/assets/javascripts/index/directions.js diff --git a/app/assets/javascripts/index/directions.js b/app/assets/javascripts/index/directions.js index 7bd0891a3..c86c8ad02 100644 --- a/app/assets/javascripts/index/directions.js +++ b/app/assets/javascripts/index/directions.js @@ -268,7 +268,8 @@ OSM.Directions = function (map) { I18n.t("javascripts.directions.descend") + ": " + formatHeight(route.descend) + "."); } - var turnByTurnTable = $(""); + var turnByTurnTable = $("
") + .append($("")); var directionsCloseButton = $(""); - row.append(" "); - row.append(" "); + row.append("
" + instruction); + row.append("
" + instruction); row.append("" + dist); row.on("click", function () {