mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 22:36:57 +02:00
CR Fix
This commit is contained in:
parent
88a4b5c983
commit
b3f5d76d0f
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue