Skip to content

Node.js based forum software built for the modern web

use topic/header closes #2933

barisusakli3efb1345e008
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) {