don't show reload button on colors before pressing play
This commit is contained in:
parent
1e20792a0d
commit
00acdb5901
|
@ -22,3 +22,7 @@
|
|||
#word svg:hover path {
|
||||
fill: red;
|
||||
}
|
||||
|
||||
#reload {
|
||||
display: none;
|
||||
}
|
||||
|
|
|
@ -32,6 +32,7 @@ window.onclick = function () {
|
|||
if (!started) {
|
||||
started = true;
|
||||
document.getElementById("controls").style.display = "none";
|
||||
document.getElementById("reload").style.display = "inline";
|
||||
changeWord();
|
||||
setInterval(changeWord, 1000);
|
||||
setInterval(function() { if (hypnoFrequency < hypnoIncrements) { hypnoFrequency++; } }, 5000);
|
||||
|
|
Loading…
Reference in a new issue