feat: allow passing in container to threadTools

This commit is contained in:
Barış Soner Uşaklı
2020-09-15 16:05:45 -04:00
parent 99f24c5997
commit 7148be2fd1
3 changed files with 17 additions and 17 deletions

View File

@@ -46,7 +46,7 @@ define('forum/topic', [
posts.onTopicPageLoad(components.get('post'));
postTools.init(tid);
threadTools.init(tid);
threadTools.init(tid, $('.topic'));
events.init();
sort.handleSort('topicPostSort', 'user.setTopicSort', 'topic/' + ajaxify.data.slug);