make sure container exists
This commit is contained in:
@@ -1527,7 +1527,9 @@
|
||||
scrollMessagesToBottom: function() {
|
||||
Vue.nextTick(() => {
|
||||
const container = document.getElementById("messages");
|
||||
container.scrollTop = container.scrollHeight;
|
||||
if(container){
|
||||
container.scrollTop = container.scrollHeight;
|
||||
}
|
||||
});
|
||||
},
|
||||
async getAppInfo() {
|
||||
|
||||
Reference in New Issue
Block a user