From 00acdb5901487a69a419ddfb03f0bb5755a1772b Mon Sep 17 00:00:00 2001 From: xenofem Date: Fri, 29 May 2020 17:05:55 -0400 Subject: [PATCH] don't show reload button on colors before pressing play --- content/hypno/colors/colors.css | 4 ++++ content/hypno/colors/colors.js | 1 + 2 files changed, 5 insertions(+) diff --git a/content/hypno/colors/colors.css b/content/hypno/colors/colors.css index 149e69e..c3ba9b0 100644 --- a/content/hypno/colors/colors.css +++ b/content/hypno/colors/colors.css @@ -22,3 +22,7 @@ #word svg:hover path { fill: red; } + +#reload { + display: none; +} diff --git a/content/hypno/colors/colors.js b/content/hypno/colors/colors.js index 3fa385e..8c15102 100644 --- a/content/hypno/colors/colors.js +++ b/content/hypno/colors/colors.js @@ -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);