mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 13:33:38 +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) {
|
||||
|
||||
var lowerAddress = address.toLowerCase();
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue