This commit is contained in:
Barış Soner Uşaklı
2018-04-03 14:20:07 -04:00
parent df770aed8e
commit caf43e3025
8 changed files with 115 additions and 71 deletions

View File

@@ -5,10 +5,11 @@ define('forum/topic/threadTools', [
'forum/topic/fork',
'forum/topic/move',
'forum/topic/delete-posts',
'forum/topic/move-post',
'components',
'translator',
'benchpress',
], function (fork, move, deletePosts, components, translator, Benchpress) {
], function (fork, move, deletePosts, movePosts, components, translator, Benchpress) {
var ThreadTools = {};
ThreadTools.init = function (tid) {
@@ -80,6 +81,7 @@ define('forum/topic/threadTools', [
deletePosts.init();
fork.init();
movePosts.init();
$('.topic').on('click', '[component="topic/following"]', function () {
changeWatching('follow');