From 5caf79b88a9f3129dca58facc8e2f804947bba56 Mon Sep 17 00:00:00 2001 From: Nero Ignis Date: Wed, 25 Aug 2021 00:51:18 +0200 Subject: [PATCH] Fix storage; --- js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/app.js b/js/app.js index 8013014..5b25110 100644 --- a/js/app.js +++ b/js/app.js @@ -39,7 +39,7 @@ const TimeTrack = { this.ticketSystemUrl = storedticketSystemUrl == null ? '' : storedticketSystemUrl; let storedShowPT = localStorage.getItem('showPT'); - this.showPT = storedShowPT == null ? true : storedShowPT; + this.showPT = (storedShowPT == null || false) ? true : storedShowPT; let storedTheme = localStorage.getItem('theme'); this.theme = storedTheme == null ? 'materia' : storedTheme;