Преглед изворни кода

add space on end to more feedback

Erwin Jacimino пре 8 месеци
родитељ
комит
22870a3502
1 измењених фајлова са 1 додато и 0 уклоњено
  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);