From: Carl Worth <cworth@cworth.org> Date: Fri, 9 Dec 2022 14:26:45 +0000 (-0800) Subject: Revert "Don't show any images until the user generates a new one" X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=a89283fbb522b14c9015695ab4982db8d0888b90;p=zombocom-ai Revert "Don't show any images until the user generates a new one" This reverts commit 94706668717da57af5def7f4153e35baa434224c. This behavior had some negative side effects. Most notably, it meant that when reloading the website a user would see nothing until generating a new image, (perhaps doing so for no other reason than to see the history). Another problem was that a spectator, (like Carl or Stacy), couldn't silently watch along, but had to also create an image. Meanwhile, the intent of this behavior was just to ensure each of the boys saw a blank history on their first encounter with the web site. Now that at least 3 boys have seen the site, there's not much remaining need for this. --- diff --git a/index.html b/index.html index 59d87e1..012995c 100644 --- a/index.html +++ b/index.html @@ -74,7 +74,7 @@ </form> </p> - <div id="images" style="display: none"> + <div id="images"> </div> <audio loop="" src="/zombo_words.mp3" type="audio/mpeg"></audio> @@ -224,8 +224,6 @@ mute.addEventListener("click", () => { /* Re-display the form and hide spinner now that generation is over. */ clearTimeout(spinner_timeout); hide_spinner(); - /* Also display all of the images. */ - images.style.display = "block"; }); function random_from(items) {