Browse Source

Fix scrollbar glitch for local chats

pull/54/head
Amir Sanni 5 years ago
parent
commit
642a424ca1
  1. 7
      js/comm.js

7
js/comm.js

@ -867,10 +867,9 @@ function addLocalChat(msg, date, sendToPartner){ @@ -867,10 +867,9 @@ function addLocalChat(msg, date, sendToPartner){
//use this if you just want to send via socket without saving in db
sendChatToSocket(msg, date, msgId);
}
fixChatScrollBarToBottom();
});
fixChatScrollBarToBottom();
}
/*
@ -1196,4 +1195,4 @@ function saveRecordedStream(chunk){ @@ -1196,4 +1195,4 @@ function saveRecordedStream(chunk){
let file = new File([blob], `__${moment().unix()}-record.webm`);
saveAs(file);
}
}

Loading…
Cancel
Save