From 3d963a43da88bebbc5427285e185d92340a0c6dd Mon Sep 17 00:00:00 2001 From: William Noris Date: Tue, 19 Oct 2021 17:35:05 +0200 Subject: [PATCH] =?UTF-8?q?fin=20de=20journ=C3=A9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/planets.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/planets.js b/scripts/planets.js index e0fb475..c2d23bc 100644 --- a/scripts/planets.js +++ b/scripts/planets.js @@ -1,8 +1,7 @@ import { api_call, API_URL, createPagination } from "./util"; -const planetes = document.getElementById("resultats"); -console.log('planet.js loaded'); +const planetes = document.getElementById("resultats"); function remplissage(results) { @@ -53,3 +52,6 @@ function remplissage(results) { } api_call(API_URL + "/planets", remplissage); + + +console.log('planet.js loaded');