Skip to content

Commit

Permalink
[0.1.1 beta] Fix display error when loading
Browse files Browse the repository at this point in the history
  • Loading branch information
lizgw committed Aug 14, 2017
1 parent bc7d48b commit 2d537ae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
});
}
Expand Down
2 changes: 2 additions & 0 deletions wavetab.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
text-shadow: 0px 0px 75px #969696;
margin-top: 0px;
margin-bottom: 0px;
display: none;
}

#date {
Expand All @@ -68,6 +69,7 @@
text-shadow: 0px 0px 60px #969696;
margin-top: 0px;
margin-bottom: 0px;
display: none;
}

/* options */
Expand Down

0 comments on commit 2d537ae

Please sign in to comment.