Parcourir la source

add space on end to more feedback

Erwin Jacimino il y a 8 mois
Parent
commit
22870a3502
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      public/main/js/app.js

+ 1 - 0
public/main/js/app.js

@@ -303,6 +303,7 @@ function initializeChat() {
                             chatInputElement.value = inputValue.slice(0, lastWordIndex) + `@${user}` + inputValue.slice(lastWordIndex + lastWord.length);
                         }
                         userList.classList.add("hidden");
+                        chatInputElement.value += " ";
                         chatInputElement.focus();
                     };
                     const color = getUserColor(user);