From 66e893769259b86387e43eba8d7bc04eb5351324 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Fri, 6 Jan 2023 12:59:51 -0500 Subject: [PATCH] breaking: use component instead of nav-pills so themes can use whatever they want for the user list menu --- public/src/client/users.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/client/users.js b/public/src/client/users.js index 4649a57860..d9bc4be595 100644 --- a/public/src/client/users.js +++ b/public/src/client/users.js @@ -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');