From fb54636ce7110343cded8897e7b5bc7284c18cd9 Mon Sep 17 00:00:00 2001 From: Dan Cojocaru Date: Sat, 3 Jun 2023 14:54:24 +0200 Subject: [PATCH] Stop showing alert about yesterday train --- view-train.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/view-train.js b/view-train.js index f476658..2b04765 100755 --- a/view-train.js +++ b/view-train.js @@ -633,8 +633,8 @@ window.addEventListener('load', function (e) { } }, 500) - if (this.localStorage && !this.localStorage.getItem('info-yesterday')) { - this.alert("New feature: You can now view yesterday's train by selecting the date!") - this.localStorage.setItem('info-yesterday', 'true') - } + // if (this.localStorage && !this.localStorage.getItem('info-yesterday')) { + // this.alert("New feature: You can now view yesterday's train by selecting the date!") + // this.localStorage.setItem('info-yesterday', 'true') + // } })