diff --git a/files/assets/js/chat.js b/files/assets/js/chat.js index a6e9e324c..514ae4111 100644 --- a/files/assets/js/chat.js +++ b/files/assets/js/chat.js @@ -305,6 +305,9 @@ setTimeout(function () { setTimeout(function () { box.scrollTo(0, box.scrollHeight) }, 1000); -window.addEventListener('load', function () { +setTimeout(function () { + box.scrollTo(0, box.scrollHeight) +}, 1500); +document.addEventListener('DOMContentLoaded', function () { box.scrollTo(0, box.scrollHeight) });