fix error
This commit is contained in:
parent
e6429a8ea1
commit
ae192c2847
|
@ -81,7 +81,7 @@
|
|||
$.post( "/admin/ruling_buses/get_stops_and_code_for_city?locale=<%= I18n.locale %>", {city: $(self).val(), default_locale: default_locale}, function( data ) {
|
||||
var options = [];
|
||||
$.each(data['stops'], function (key,value) {
|
||||
if (typeof(value).toLowerCase()!='string'){
|
||||
if ((typeof(value)).toLowerCase()!='string'){
|
||||
var id = value[0];
|
||||
var v = value[1];
|
||||
}else{
|
||||
|
|
Loading…
Reference in New Issue