Use flex in routing form to fix marker column width

This commit is contained in:
Anton Khorev 2024-06-03 12:21:11 +03:00
parent 1e6db7b52c
commit 6ae4e53f45
3 changed files with 23 additions and 25 deletions

View file

@ -357,7 +357,7 @@ OSM.Directions = function (map) {
getRoute(true, true);
});
$(".routing_marker").on("dragstart", function (e) {
$(".routing_marker_column img").on("dragstart", function (e) {
var dt = e.originalEvent.dataTransfer;
dt.effectAllowed = "move";
var dragData = { type: $(this).data("type") };