File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed
Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ otp.config = {
193193 {
194194 'name' : 'Geococker' ,
195195 'className' : 'otp.core.GeocoderPelias' ,
196- 'url' : 'http://www.bunet.torino.it /suggest' ,
196+ 'url' : '/suggest' ,
197197 'addressParam' : 'query' ,
198198 }
199199 ] ,
Original file line number Diff line number Diff line change @@ -75,7 +75,9 @@ otp.core.GeocoderPelias = otp.Class({
7575 var response = null ;
7676 if ( data . features . length > 0 ) {
7777 var props = data . features [ 0 ] . properties ;
78- var response = props . name + ', ' + props . local_admin_name + ' (' + props . admin1_abbr + ')'
78+ response = props . name + ', ' + props . local_admin_name
79+ if ( props . admin1_abbr )
80+ response += ' (' + props . admin1_abbr + ')'
7981 }
8082 callback . call ( this , response ) ;
8183 } )
Original file line number Diff line number Diff line change 4848}
4949# otp-planner-optionsWidget .address-fields .field input {
5050 height : 26px ;
51- padding : 0px 0px 0px 50 px ;
51+ padding : 0px 0px 0px 40 px ;
5252}
5353# otp-planner-optionsWidget-timeSelector-timeSelector select {
5454 width : 133px ;
Original file line number Diff line number Diff line change @@ -690,7 +690,7 @@ strong.trigger-option.open .fonticon:before { content: '\e80f'; color:#fff} /* '
690690
691691}
692692# otp-planner-optionsWidget .address-fields .field input {
693- width : 85 % ;
693+ width : 78 % ;
694694 height : 22px ;
695695 padding : 0px 0px 0px 30px ;
696696 font-size : 1.1em ;
You can’t perform that action at this time.
0 commit comments