mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-18 02:20:49 +01:00
breaking: use component instead of nav-pills
so themes can use whatever they want for the user list menu
This commit is contained in:
@@ -12,7 +12,7 @@ define('forum/users', [
|
||||
app.enterRoom('user_list');
|
||||
|
||||
const section = utils.param('section') ? ('?section=' + utils.param('section')) : '';
|
||||
const navItems = $('.nav-pills li');
|
||||
const navItems = $('[component="user/list/menu"]');
|
||||
navItems.find('a').removeClass('active');
|
||||
navItems.find('a[href="' + window.location.pathname + section + '"]')
|
||||
.addClass('active');
|
||||
|
||||
Reference in New Issue
Block a user