From 91bf6a5062067c43f8e69529bf9a86bcb020e9ee Mon Sep 17 00:00:00 2001 From: calzoneman Date: Fri, 16 May 2014 23:29:14 -0500 Subject: [PATCH] Fix #360 --- www/js/util.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/www/js/util.js b/www/js/util.js index cf8a5d58..822d1125 100644 --- a/www/js/util.js +++ b/www/js/util.js @@ -1364,6 +1364,12 @@ function formatChatMessage(data, last) { if (data.meta.shadow) { div.addClass("chat-shadow"); } + + div.find("img").load(function () { + if (SCROLLCHAT) { + scrollChat(); + } + }); return div; }