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

@@ -366,7 +366,7 @@ define('forum/chats', ['components', 'string', 'sounds', 'forum/infinitescroll',
return callback();
}
infinitescroll.parseAndTranslate('chats', 'chats', {chats: users}, function(html) {
app.parseAndTranslate('chats', 'chats', {chats: users}, function(html) {
$('.recent-chats').append(html);
callback();
});