diff --git a/public/javascripts/game.js b/public/javascripts/game.js index 927a7d0a57..cb57fe4e6c 100644 --- a/public/javascripts/game.js +++ b/public/javascripts/game.js @@ -510,7 +510,9 @@ $.widget("lichess.game", { }, appendToChat: function(msg) { if (this.$chat.length) { - this.$chatMsgs.append(urlToLink(msg))[0].scrollTop = 9999999; + this.$chatMsgs.append(urlToLink(msg))[0]; + $('body').trigger('lichess.content_loaded'); + this.$chatMsgs.scrollTop = 9999999; } }, reloadTable: function(callback) { diff --git a/todo b/todo index 9f9a377471..594cdf2643 100644 --- a/todo +++ b/todo @@ -21,12 +21,8 @@ make the wiki static html pages managed by git? compensate lag http://fr.lichess.org/forum/lichess-feedback/the-clock-display-should-account-for-lag?page=1#4 show lobby room logs lobby sync -chat scroll in game push enumerator is deprecated http://fr.lichess.org/forum/lichess-feedback/game-history-bug#1 -morozov can't chatban anymore http://en.lichess.org/inbox/mrfsbwou#bottom -monitor + nb slow mongo requests -restore previous elo graph pie elo chart nb-playing is wrong (mongo date?) new elo system http://en.wikipedia.org/wiki/Glicko_rating_system