|
@@ -175,7 +175,8 @@ function saveText() {
|
|
const t = inputText.value;
|
|
const t = inputText.value;
|
|
inputText.value = '';
|
|
inputText.value = '';
|
|
|
|
|
|
-// index++;
|
|
|
|
|
|
+ // index++;
|
|
|
|
+ console.log(chatlist.value);
|
|
if (chatlist.value.length > 3) {
|
|
if (chatlist.value.length > 3) {
|
|
chatlist.value.shift();
|
|
chatlist.value.shift();
|
|
}
|
|
}
|