moved infinitescroll.parseAndTranslate to app.parseAndTranslate

This commit is contained in:
psychobunny
2015-10-29 23:58:48 -04:00
parent 49aa620ce3
commit 4798647b8a
15 changed files with 29 additions and 22 deletions

View File

@@ -145,7 +145,7 @@ define('forum/topic/posts', [
$(window).trigger('action:posts.loading', {posts: data.posts, after: after, before: before});
infinitescroll.parseAndTranslate('topic', 'posts', data, function(html) {
app.parseAndTranslate('topic', 'posts', data, function(html) {
if (after) {
html.insertAfter(after);
} else if (before) {