mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
fix: add loadingMore flag to chat infinite load
This commit is contained in:
@@ -72,7 +72,7 @@ define('forum/chats/recent', ['alerts', 'api'], function (alerts, api) {
|
||||
if (!data.rooms.length) {
|
||||
return callback();
|
||||
}
|
||||
|
||||
data.loadingMore = true;
|
||||
app.parseAndTranslate('chats', 'rooms', data, function (html) {
|
||||
$('[component="chat/recent"]').append(html);
|
||||
html.find('.timeago').timeago();
|
||||
|
||||
Reference in New Issue
Block a user