mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-14 17:56:16 +01:00
fixes error alerts if scroll is triggered during transitions
This commit is contained in:
@@ -44,6 +44,9 @@ define(['forum/recent'], function(recent) {
|
||||
});
|
||||
|
||||
function loadMoreTopics() {
|
||||
if(!$('#topics-container').length) {
|
||||
return;
|
||||
}
|
||||
loadingMoreTopics = true;
|
||||
socket.emit('topics.loadMoreUnreadTopics', {
|
||||
after: $('#topics-container').attr('data-nextstart')
|
||||
|
||||
Reference in New Issue
Block a user