Skip to content

Commit

Permalink
feat: coco de paques
Browse files Browse the repository at this point in the history
  • Loading branch information
dhdaines committed Jul 30, 2024
1 parent 704de04 commit 43ccf9e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<h1 id="header">
SÈRAFIM<span class="nomobile">:
<span class="initial">S</span>yst<span class="initial">È</span>me
de <span class="initial">R</span>écherche <span class="initial">A</span>délois pour
de <span class="initial">R</span>écherche <span class="initial">A</span><span id="egg">délois</span> pour
<span class="initial">F</span>ouiller dans
les <span class="initial">I</span>nformations
<span class="initial">M</span>unicipales
Expand Down
12 changes: 7 additions & 5 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 43ccf9e

Please sign in to comment.