removed thread state fix bottom bar class

This commit is contained in:
barisusakli
2015-04-02 22:34:23 -04:00
parent 9e3b2148ba
commit 9dac6303bb
4 changed files with 11 additions and 31 deletions

View File

@@ -30,12 +30,7 @@ define('forum/topic', [
});
Topic.init = function() {
var tid = ajaxify.variables.get('topic_id'),
thread_state = {
locked: ajaxify.variables.get('locked'),
deleted: ajaxify.variables.get('deleted'),
pinned: ajaxify.variables.get('pinned')
};
var tid = ajaxify.variables.get('topic_id');
$(window).trigger('action:topic.loading');
@@ -43,8 +38,8 @@ define('forum/topic', [
posts.processPage($('.topic'));
postTools.init(tid, thread_state);
threadTools.init(tid, thread_state);
postTools.init(tid);
threadTools.init(tid);
events.init();
sort.handleSort('topicPostSort', 'user.setTopicSort', 'topic/' + ajaxify.variables.get('topic_slug'));