mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-01 21:30:30 +01:00
fix: category load more btn visibility
This commit is contained in:
@@ -107,7 +107,8 @@ define('forum/category', [
|
||||
app.createUserTooltips(html);
|
||||
ajaxify.data.nextSubCategoryStart += ajaxify.data.subCategoriesPerPage;
|
||||
ajaxify.data.subCategoriesLeft -= data.length;
|
||||
btn.translateText('[[category:x-more-categories, ' + ajaxify.data.subCategoriesLeft + ']]');
|
||||
btn.toggleClass('hidden', ajaxify.data.subCategoriesLeft <= 0)
|
||||
.translateText('[[category:x-more-categories, ' + ajaxify.data.subCategoriesLeft + ']]');
|
||||
});
|
||||
});
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user