From 43ccf9ec1331307342304bd2b40f0b1fbf5b52e7 Mon Sep 17 00:00:00 2001 From: David Huggins-Daines Date: Mon, 29 Jul 2024 23:07:41 -0400 Subject: [PATCH] feat: coco de paques --- index.html | 2 +- src/main.ts | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index 10eea2b..b773c93 100644 --- a/index.html +++ b/index.html @@ -11,7 +11,7 @@

SÈRAFIM: SystÈme - de Récherche Adélois pour + de Récherche Adélois pour Fouiller dans les Informations Municipales diff --git a/src/main.ts b/src/main.ts index b79ff0e..9bb3cfe 100644 --- a/src/main.ts +++ b/src/main.ts @@ -63,13 +63,18 @@ class App { switch (name) { case "vsadm": this.ville.value = "vsadm"; - break; + document.getElementById("egg")!.innerText = "gathois"; + break; case "vss": this.ville.value = "vss"; - break; + break; case "prevost": this.ville.value = "prevost"; break; + case "": + document.getElementById("egg")!.innerText = "délois"; + other_ville = false; + break; default: other_ville = false; } @@ -101,9 +106,6 @@ class App { && (window.location.pathname + "/") != this.base_url) { // HACK: this is only when we refer to a full bylaw if (window.location.hash) { - console.log("WTF", window.location.pathname, ALEXI_URL - + window.location.pathname.replace("/serafim", "") - + window.location.hash); window.location.assign(ALEXI_URL + window.location.pathname.replace("/serafim", "") + window.location.hash);