mirror of
https://github.com/Floriansylvain/projet_programmation_web.git
synced 2026-08-19 19:53:18 +02:00
🐛 Fixed loading not hiding when < 10 results
This commit is contained in:
@@ -214,7 +214,7 @@ function initMap(results) {
|
|||||||
result.push(obj)
|
result.push(obj)
|
||||||
}
|
}
|
||||||
i += 1
|
i += 1
|
||||||
if (i === 10) {
|
if (i === results.data.length) {
|
||||||
initMapVisuals(result)
|
initMapVisuals(result)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user