|
|
|
@ -133,7 +133,7 @@ define('forum/recent', ['forum/infinitescroll', 'components'], function(infinite
|
|
|
|
|
|
|
|
|
|
infinitescroll.loadMore('topics.loadMoreFromSet', {
|
|
|
|
|
after: $('[component="category"]').attr('data-nextstart'),
|
|
|
|
|
set: 'topics:recent'
|
|
|
|
|
set: $('[component="category"]').attr('data-dbset') ? $('[component="category"]').attr('data-dbset') : 'topics:recent'
|
|
|
|
|
}, function(data, done) {
|
|
|
|
|
if (data.topics && data.topics.length) {
|
|
|
|
|
Recent.onTopicsLoaded('recent', data.topics, false, done);
|
|
|
|
|