mirror of
https://github.com/Floriansylvain/projet_programmation_web.git
synced 2026-10-19 04:53:51 +02:00
🐛 Fixed loading not hiding when < 10 results
This commit is contained in:
1 parent
693debefbe
commit
8284d6b50b
1 file changed
+1
-1
@@ -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