diff --git a/static/css/styles.css b/static/css/styles.css index 7989973..bcce54c 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -175,7 +175,7 @@ body { } header { - max-width: 1400px; + max-width: 1280px; margin: auto; margin-top: 40px; margin-bottom: 60px; @@ -234,7 +234,7 @@ section.register>h1 { } footer>div { - max-width: 1400px; + max-width: 1280px; margin: auto; padding: 40px; display: flex; @@ -258,7 +258,7 @@ footer>div { .second-footer>div { display: flex; - max-width: 1400px; + max-width: 1280px; margin: auto; height: 60px; align-items: center; @@ -276,7 +276,7 @@ footer>div { padding: 0; height: 60px; max-width: unset; - background: white; + background: #F8F8F8; margin-top: -15px; } @@ -789,7 +789,7 @@ section.login>form>div>div:nth-child(7)>a { } section.profile { - max-width: 1400px; + max-width: 1280px; margin: auto; padding: 0px 40px; margin-bottom: 120px; diff --git a/static/js/user_profile.js b/static/js/user_profile.js index 7468069..968ec2c 100644 --- a/static/js/user_profile.js +++ b/static/js/user_profile.js @@ -182,7 +182,11 @@ function searchTown(el){ timer = null; let form = el.form; - let type_transport = form['type_transport'].value; + let type_transport_el = form['type_transport']; + let type_transport = "" + if(type_transport_el){ + type_transport = type_transport_el.value + } let search_str = el.value; let get_address_point = new Object({type_transport, search_str}); get_address_point['ctrl_name'] = el.name;