From 1623ddd15c9191422404a7c1dcac926cd8d987ee Mon Sep 17 00:00:00 2001 From: eta Date: Thu, 2 Mar 2023 22:39:22 +0000 Subject: [PATCH] fix standard class field (thanks Alan Dennis!) --- rsp6-webshite/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rsp6-webshite/index.js b/rsp6-webshite/index.js index affafc2..f9669bb 100644 --- a/rsp6-webshite/index.js +++ b/rsp6-webshite/index.js @@ -133,7 +133,7 @@ function onload() { } } let adult = data.child_ticket ? "Child" : "Adult"; - let first = data.first_class ? "First Class" : "Standard Class"; + let first = data.standard_class ? "Standard Class" : "First Class"; document.getElementById("ticket-fromto").innerHTML = origin + " to " + destination; if (data.manually_inspect) { row("", "Manual inspection required");