|
@@ -176,8 +176,7 @@ function saveText() {
|
|
const t = inputText.value;
|
|
const t = inputText.value;
|
|
inputText.value = '';
|
|
inputText.value = '';
|
|
|
|
|
|
- if(chatlist.value.length > 12){
|
|
|
|
- chatlist.value.shift();
|
|
|
|
|
|
+ if(chatlist.value.length > 5){
|
|
chatlist.value.shift();
|
|
chatlist.value.shift();
|
|
}
|
|
}
|
|
createSocket(ws => {
|
|
createSocket(ws => {
|