Skip to content
This repository was archived by the owner on Dec 28, 2025. It is now read-only.

Commit fb2a89f

Browse files
committed
correction syntaxe JS dans station.ejs
1 parent 72083cd commit fb2a89f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

templates/station.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@
341341
342342
if (!precedent && !suivant) return;
343343
344-
const toId = name => if (name !== "Terminus") { return "/stations/" + normaliserNom(name) } else { return "#" };
344+
const toId = (name) => { if (name !== "Terminus") { return "/stations/" + normaliserNom(name) } else { return "#" } };
345345
346346
const pictos = ligne.startsWith("m")
347347
? genererLignesHTML({ metro: [ligne.replace(/^m0?/, "").replace("b", "bis")] })

0 commit comments

Comments
 (0)