From 3efb1345e008410d392e37f0f1e67269cf4ecf93 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Thu, 2 Apr 2015 17:33:28 -0400 Subject: [PATCH] use topic/header closes #2933 --- public/src/client/category.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/client/category.js b/public/src/client/category.js index e49e193c68..a42837d851 100644 --- a/public/src/client/category.js +++ b/public/src/client/category.js @@ -47,7 +47,7 @@ define('forum/category', [ navigator.init('[component="category/topic"]', ajaxify.variables.get('topic_count'), Category.toTop, Category.toBottom, Category.navigatorCallback); } - $('[component="category"]').on('click', '[component="post/header"]', function() { + $('[component="category"]').on('click', '[component="topic/header"]', function() { var clickedIndex = $(this).parents('[data-index]').attr('data-index'); $('[component="category/topic"]').each(function(index, el) { if ($(el).offset().top - $(window).scrollTop() > 0) {