From 8284d6b50bd20c3c41a47232665576f7b90541b8 Mon Sep 17 00:00:00 2001 From: Florian Sylvain Date: Sun, 9 Jan 2022 22:14:53 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20loading=20not=20hiding?= =?UTF-8?q?=20when=20<=2010=20results?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ProjetProgWeb/charts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProjetProgWeb/charts.js b/ProjetProgWeb/charts.js index 22bc249..32e9dda 100644 --- a/ProjetProgWeb/charts.js +++ b/ProjetProgWeb/charts.js @@ -214,7 +214,7 @@ function initMap(results) { result.push(obj) } i += 1 - if (i === 10) { + if (i === results.data.length) { initMapVisuals(result) } })