mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-04 19:41:16 +01:00
fix: missing cb in world IS handler
This commit is contained in:
@@ -71,11 +71,12 @@ define('forum/world', [
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
loadTopicsAfter(after, direction, (payload) => {
|
loadTopicsAfter(after, direction, (payload, callback) => {
|
||||||
app.parseAndTranslate(ajaxify.data.template.name, 'posts', payload, function (html) {
|
app.parseAndTranslate(ajaxify.data.template.name, 'posts', payload, function (html) {
|
||||||
const listEl = document.getElementById('world-feed');
|
const listEl = document.getElementById('world-feed');
|
||||||
$(listEl).append(html);
|
$(listEl).append(html);
|
||||||
html.find('.timeago').timeago();
|
html.find('.timeago').timeago();
|
||||||
|
callback();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user