From 1d07a12f7191d2e0951262dce1f61c22de24dfa5 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Wed, 7 Dec 2022 17:11:47 -0800 Subject: [PATCH 1/1] Fix bug in clearing the spinner after image generation is done The function is clearTimeout, not cancelTimeout. --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index d055878..a3aeb04 100644 --- a/index.html +++ b/index.html @@ -160,7 +160,7 @@ mute.addEventListener("click", () => { socket.on('generation-done', () => { /* Re-display the form and hide spinner now that generation is over. */ - cancelTimeout(spinner_timeout); + clearTimeout(spinner_timeout); hide_spinner(); }); -- 2.43.0