fix game chat translation and autoscroll

pull/1/merge
Thibault Duplessis 2012-06-01 21:53:38 +02:00
parent af53d893d3
commit cc715181c4
2 changed files with 3 additions and 5 deletions

View File

@ -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) {

4
todo
View File

@ -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