mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-06 04:21:17 +01:00
use topic/header closes #2933
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user