mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-04-28 09:43:13 +00:00
make sure container exists
This commit is contained in:
parent
0e983f6456
commit
a697cf4777
1 changed files with 3 additions and 1 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue