diff --git a/static/js/global_js.js b/static/js/global_js.js index a3a4943..d67455f 100644 --- a/static/js/global_js.js +++ b/static/js/global_js.js @@ -92,4 +92,5 @@ function scroll_ev (event,el){ curtain.style.top = `${top}px` } } -} \ No newline at end of file +} + diff --git a/static/js/user_profile.js b/static/js/user_profile.js index 490ae44..413abee 100644 --- a/static/js/user_profile.js +++ b/static/js/user_profile.js @@ -511,19 +511,12 @@ function sendRoute(el, routeID = null){ // location.href = '/profile' document.querySelector(".info_profile").innerHTML = data.html - // let dataset = document.querySelector(`[data-number-of-route=${"routeID"}]`) let el_route = document.querySelector(`[data-number-of-route="${routeID}"]`); - // let el_routes = document.querySelectorAll(".carrier-card") - // el_route.scrollIntoView({behavior: "smooth",block:'start',inline:'start'}); + el_route.scrollIntoView(true); - // - // let el_route_id = el_route.dataset.numberOfRoute; - // if(el_route_id){ - // el_route.scrollIntoView(true); - // } diff --git a/templates/blocks/static_pages_blocks/b_about_service.html b/templates/blocks/static_pages_blocks/b_about_service.html index 59d6e1d..c35d9ea 100644 --- a/templates/blocks/static_pages_blocks/b_about_service.html +++ b/templates/blocks/static_pages_blocks/b_about_service.html @@ -4,8 +4,12 @@
diff --git a/templates/blocks/static_pages_blocks/b_mover_search.html b/templates/blocks/static_pages_blocks/b_mover_search.html
index d6df16c..09f0893 100644
--- a/templates/blocks/static_pages_blocks/b_mover_search.html
+++ b/templates/blocks/static_pages_blocks/b_mover_search.html
@@ -22,7 +22,10 @@
{% endif %}
-
+