0.0.42 fix form
This commit is contained in:
@@ -17,11 +17,11 @@ function makeMoverOrder(form) {
|
||||
if (!profile_root) return;
|
||||
profile_root.innerHTML = res.html
|
||||
|
||||
let created_route = document.querySelector(`[data-number-of-route="${created_route_id}"]`);
|
||||
let created_route = document.querySelector(`.w_route_card[data-route_id="${created_route_id}"]`);
|
||||
created_route.scrollIntoView({
|
||||
behavior:"smooth",
|
||||
block:'start',
|
||||
inline:'start'
|
||||
block:'center',
|
||||
inline:'center'
|
||||
});
|
||||
|
||||
let new_url = window.location.pathname
|
||||
|
||||
@@ -17,7 +17,7 @@ function makePosterOrder(form) {
|
||||
if (!profile_root) return;
|
||||
profile_root.innerHTML = res.html
|
||||
|
||||
let created_route = document.querySelector(`[data-number-of-route="${created_route_id}"]`);
|
||||
let created_route = document.querySelector(`.w_route_card[data-route_id="${created_route_id}"]`);
|
||||
created_route.scrollIntoView({
|
||||
behavior:"smooth",
|
||||
block:'start',
|
||||
|
||||
Reference in New Issue
Block a user