mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Scroll the messages down automatically
This commit is contained in:
parent
dd0e4eb4d8
commit
63cd1a31b3
@ -121,6 +121,7 @@ if (typeof TimWolla.WCF == 'undefined') TimWolla.WCF = {};
|
|||||||
|
|
||||||
$('.chatMessage ul').append(li);
|
$('.chatMessage ul').append(li);
|
||||||
}
|
}
|
||||||
|
$('.chatMessage').animate({scrollTop: $('.chatMessage ul').height()}, 10000);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
})(jQuery, document);
|
})(jQuery, document);
|
Loading…
Reference in New Issue
Block a user