Browse Source

changed method name

pull/705/head
Stephen Hess 8 years ago
parent
commit
5dedcf5032
  1. 4
      query/search.js

4
query/search.js

@ -120,7 +120,7 @@ function generateQuery( clean ){
} }
function getQuery(vs) { function getQuery(vs) {
if (hasStreet(vs) || isCityStateOnly(vs)) { if (hasStreet(vs) || isCityStateOnlyWithOptionalCountry(vs)) {
return { return {
type: 'fallback', type: 'fallback',
body: fallbackQuery.render(vs) body: fallbackQuery.render(vs)
@ -137,7 +137,7 @@ function hasStreet(vs) {
return vs.isset('input:street'); return vs.isset('input:street');
} }
function isCityStateOnly(vs) { function isCityStateOnlyWithOptionalCountry(vs) {
var isSet = function(layer) { var isSet = function(layer) {
return vs.isset('input:' + layer); return vs.isset('input:' + layer);
}; };

Loading…
Cancel
Save