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 */