diff --git a/js/lib.main.js b/js/lib.main.js index 7fd6cb3..d510fae 100644 --- a/js/lib.main.js +++ b/js/lib.main.js @@ -165,6 +165,13 @@ async function getApi(path,auth = false) { } } +async function showHideAuthNotice() { + let uuid = localStorage.getItem("uuid") + if (uuid) { + document.getElementById('auth-notice').style = 'display:none' + } +} + async function vibe(type) { let canVibrate = "vibrate" in navigator || "mozVibrate" in navigator if (canVibrate && !("vibrate" in navigator)){ diff --git a/pis.html b/pis.html index 9d38db2..be5505a 100644 --- a/pis.html +++ b/pis.html @@ -46,7 +46,7 @@

Enter a services start and end station CRS codes to see code options and stopping patterns.

Currently supported (Beta): GWR Bristol Metro region only.

-

You will need to be logged into a free rail staff version account for this feature once it has finished testing.

+

You need to be logged into a free rail staff version account for this feature.