mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-11 02:51:58 +02:00
fix: timeago and other dom modifications after navigation
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
import { render } from 'benchpress';
|
||||
import { loadMore } from 'forum/infinitescroll';
|
||||
import * as navigator from 'navigator';
|
||||
import { onNewPostsAddedToDom } from 'forum/topic/posts';
|
||||
import { onPage, one as once } from 'hooks';
|
||||
import { translate } from 'translator';
|
||||
|
||||
@@ -244,7 +245,7 @@ async function onScrollEnd() {
|
||||
|
||||
placeholderEl.replaceWith(el);
|
||||
});
|
||||
|
||||
onNewPostsAddedToDom(elements);
|
||||
done();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user