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