X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=index.html;fp=index.html;h=8db8b695b93b68c2187af45978e1fe4e8a07e6c0;hb=60d4a9c676aba06a3815af5382b428aa44ec5ffa;hp=92e115ede8e264b75a77843e21cf39ebbd5aff7f;hpb=07b6a82a9dc415426d3ce3e326812f52d9c6f7e2;p=zombocom-ai diff --git a/index.html b/index.html index 92e115e..8db8b69 100644 --- a/index.html +++ b/index.html @@ -139,6 +139,12 @@ mute.addEventListener("click", () => { comments.appendChild(dd); } + // When we enter the endgame, we disable the art-generation form, + // (just hide it) + socket.on('endgame', () => { + zombo_form.style.display = "none"; + }); + socket.on('comment', function(comment) { const comments = document.querySelector("#comments_" + comment.image_id); add_comment(comments, comment);