Move journeys search menu to popup

This commit is contained in:
2025-06-18 16:57:38 +02:00
parent 0715083935
commit f507299c15
5 changed files with 35 additions and 6 deletions

View File

@@ -36,7 +36,7 @@ function createLocationElement(location) {
export function attachLocationsSearch(search_element) {
search_element.addEventListener("click", event => {
element_locations_search.locationSelectedCallback = (location_name, location_id) => {
search_element.innerText = location_name;
search_element.value = location_name;
search_element.dataset.locationId = location_id;
};
element_query.value = "";