From 2d537aecae53eda837559a8bbcbb18585f27fa03 Mon Sep 17 00:00:00 2001 From: Liz W Date: Mon, 14 Aug 2017 16:10:20 -0500 Subject: [PATCH] [0.1.1 beta] Fix display error when loading --- src/options.js | 8 ++++---- wavetab.html | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/options.js b/src/options.js index 790da36..8a143e6 100644 --- a/src/options.js +++ b/src/options.js @@ -35,11 +35,11 @@ function restoreOptions() { use24Time.checked = items.use24HourTime; // if settings say elements don't display, then hide them - if (!items.showTime) { - timeElem.style.display = "none"; + if (items.showTime) { + timeElem.style.display = "block"; } - if (!items.showDate) { - dateElem.style.display = "none"; + if (items.showDate) { + dateElem.style.display = "block"; } }); } diff --git a/wavetab.html b/wavetab.html index 8e50f36..446f88d 100644 --- a/wavetab.html +++ b/wavetab.html @@ -60,6 +60,7 @@ text-shadow: 0px 0px 75px #969696; margin-top: 0px; margin-bottom: 0px; + display: none; } #date { @@ -68,6 +69,7 @@ text-shadow: 0px 0px 60px #969696; margin-top: 0px; margin-bottom: 0px; + display: none; } /* options */