about summary refs log tree commit diff stats
path: root/html
diff options
context:
space:
mode:
authorelioat <{ID}+{username}@users.noreply.github.com>2025-01-03 10:45:47 -0500
committerelioat <{ID}+{username}@users.noreply.github.com>2025-01-03 10:45:47 -0500
commit59d6b869cfd9b8342f9bf623070769dbea7a0105 (patch)
treeffe6d272b14ea6cc39d598e78985681ef6790177 /html
parent8f7e43238201094476a8cbc8b553e2facfd28938 (diff)
downloadtour-59d6b869cfd9b8342f9bf623070769dbea7a0105.tar.gz
*
Diffstat (limited to 'html')
-rw-r--r--html/matt-chat/index.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/html/matt-chat/index.html b/html/matt-chat/index.html
index 17dcefe..530d36c 100644
--- a/html/matt-chat/index.html
+++ b/html/matt-chat/index.html
@@ -264,18 +264,21 @@
             if (userMessage.toLowerCase() === '/darkmode') {
                 toggleDarkMode();
                 userInput.value = ""; // Clear input after command
+                updateCounter(); // Reset counters
                 return;
             }
 
             if (userMessage.toLowerCase() === '/clear') {
                 clearChat();
                 userInput.value = ""; // Clear input after command
+                updateCounter(); // Reset counters
                 return;
             }
 
             if (userMessage.toLowerCase() === '/help') {
                 displayHelp();
                 userInput.value = ""; // Clear input after command
+                updateCounter(); // Reset counters
                 return;
             }