From 2db0c1c2eb8c4984e4757449058f7c948e2b735b Mon Sep 17 00:00:00 2001
From: Gregoo <versatile.mailbox@gmail.com>
Date: Sat, 25 Jan 2025 23:06:00 +0100
Subject: [PATCH] Clear the socket when clicking the button

---
 static/scripts/socket/instructions.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/static/scripts/socket/instructions.js b/static/scripts/socket/instructions.js
index 6a1fdc25..271c0c38 100644
--- a/static/scripts/socket/instructions.js
+++ b/static/scripts/socket/instructions.js
@@ -64,7 +64,7 @@ class BrickInstructionsSocket extends BrickSocket {
             if (!from_complete) {
                 this.total = this.get_files(true).length;
                 this.current = 0;
-                this.clear_status();
+                this.clear();
             }
 
             // Find the next checkbox