mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-09 07:25:46 +01:00
fixes acp/categories/x menu selection
@julianlam
This commit is contained in:
@@ -114,6 +114,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function selectMenuItem(url) {
|
function selectMenuItem(url) {
|
||||||
|
url = url.replace(/\/\d+$/, '');
|
||||||
|
|
||||||
$('#main-menu .nav-list > li').removeClass('active').each(function() {
|
$('#main-menu .nav-list > li').removeClass('active').each(function() {
|
||||||
var menu = $(this),
|
var menu = $(this),
|
||||||
category = menu.parents('.sidebar-nav'),
|
category = menu.parents('.sidebar-nav'),
|
||||||
|
|||||||
Reference in New Issue
Block a user