mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: recent loading
This commit is contained in:
committed by
GitHub
parent
2bed405cd5
commit
d3d6d77d1e
@@ -35,7 +35,7 @@ define('forum/chats/recent', ['alerts', 'api', 'chat'], function (alerts, api, c
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
recentChats.attr('loading', 1);
|
recentChats.attr('loading', 1);
|
||||||
app.get(`/chats`, {
|
api.get(`/chats`, {
|
||||||
uid: ajaxify.data.uid,
|
uid: ajaxify.data.uid,
|
||||||
after: recentChats.attr('data-nextstart'),
|
after: recentChats.attr('data-nextstart'),
|
||||||
}).then(({ rooms, nextStart }) => {
|
}).then(({ rooms, nextStart }) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user