This commit is contained in:
Roxanne Skelly 2019-03-08 14:37:15 -08:00
parent 88a4b5c983
commit b3f5d76d0f

View file

@ -190,9 +190,10 @@ Column {
} }
} }
function isStandalone(address) { function isStandalone(address) {
var lowerAddress = address.toLowerCase();
for (var i=0; i < suggestions.count; i++) { for (var i=0; i < suggestions.count; i++) {
if (suggestions.get(i).place_name.toLowerCase() === address.toLowerCase()) { if (suggestions.get(i).place_name.toLowerCase() === lowerAddress) {
return suggestions.get(i).standalone_optimized; return suggestions.get(i).standalone_optimized;
} }
} }