]> git.cworth.org Git - zombocom-ai/commitdiff
Revert "Don't show any images until the user generates a new one"
authorCarl Worth <cworth@cworth.org>
Fri, 9 Dec 2022 14:26:45 +0000 (06:26 -0800)
committerCarl Worth <cworth@cworth.org>
Fri, 9 Dec 2022 14:26:45 +0000 (06:26 -0800)
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.

index.html

index 59d87e12135605f9c612000527ae2c1ae7e44480..012995cbe96285715b24284a18f761c4e43b2aa1 100644 (file)
@@ -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) {