mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-21 16:00:26 +01:00
move image code to client/topic/images
This commit is contained in:
@@ -7,11 +7,12 @@ define('forum/topic', [
|
||||
'forum/topic/postTools',
|
||||
'forum/topic/events',
|
||||
'forum/topic/posts',
|
||||
'forum/topic/images',
|
||||
'forum/topic/replies',
|
||||
'navigator',
|
||||
'sort',
|
||||
'components',
|
||||
], function (infinitescroll, threadTools, postTools, events, posts, replies, navigator, sort, components) {
|
||||
], function (infinitescroll, threadTools, postTools, events, posts, images, replies, navigator, sort, components) {
|
||||
var Topic = {};
|
||||
var currentUrl = '';
|
||||
|
||||
@@ -238,7 +239,7 @@ define('forum/topic', [
|
||||
return;
|
||||
}
|
||||
|
||||
posts.loadImages(threshold);
|
||||
images.loadImages(threshold);
|
||||
|
||||
var newUrl = 'topic/' + ajaxify.data.slug + (index > 1 ? ('/' + index) : '');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user