diff --git a/public/index.html b/public/index.html
index 179a9ed..1038d87 100644
--- a/public/index.html
+++ b/public/index.html
@@ -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() {